Skip to content

Allocation Wizard Line Documentation

Overview

The Allocation Wizard Line model (account.alloc.wizard.line) represents individual allocation entries in the credit note allocation wizard. Each line corresponds to an invoice or payment that can receive credit allocation.


Model Information

Model Name: account.alloc.wizard.line Display Name: Allocation Wizard Line Transient: Yes Key Fields: None (transient model)

Features

  • ✅ Transient model (temporary data)
  • ❌ Audit logging enabled (_audit_log)
  • ✅ Cascade delete with parent wizard

Key Fields Reference

All Fields

Field Type Required Readonly Description
wiz_id Many2One Parent wizard
move_line_id Many2One Account entry
move_id Many2One Journal entry
date Date Entry date
account_id Many2One Account
amount_due Decimal Due amount
amount Decimal Amount to allocate

Model Relationship Description
account.alloc.wizard Many2One (wiz_id) Parent wizard
account.move.line Many2One Source move line
account.move Many2One Source journal entry
account.account Many2One Account

Usage Notes

  • Lines are auto-populated by parent wizard's default_get
  • amount_due shows the outstanding balance
  • User enters amount to allocate (≤ amount_due)
  • Lines with amount = 0 are skipped during allocation

Version History

Last Updated: December 2024 Model Version: alloc_wizard_line.py Framework: Netforce


This documentation is generated for developer onboarding and reference purposes.