Account Invoice Advance Compensation
account_invoice_advance_compensation · OCA/account-invoicing
-
Security25/25No findings
-
Activity20/25Last human commit 8 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
AccountMoveLine— Since 17.0: `name_get` no longer feeds `display_name`: override `_compute_display_name` instead. migration-name-get · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
This module provides a comprehensive solution for managing advance payments and their compensation in Odoo. It enables businesses to efficiently handle prepayments and their application against regular invoices through a user-friendly interface.
Key Features:
- Dedicated advance payment tracking for both customers and suppliers
- Flexible compensation wizard for applying advances against invoices
- Automatic reconciliation of advance payments with regular invoices
- Configurable advance payment journals
- Multi-currency support for advance payments
The module streamlines the advance payment process by providing a structured workflow for recording, tracking, and compensating advance payments, ensuring accurate financial records and improved cash flow management.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_invoice_advance_compensation_wizard_view_form |
account.invoice.advance.compensation.wizard.form | account.invoice.advance.compensation.wizard | form | New |
view_account_journal_form_inherit |
account.journal.form.inherit.advance | account.journal | form | Inherits account.view_account_journal_form |
view_move_form_inherit |
account.move.form.inherit.advance.compensation | account.move | form | Inherits account.view_move_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
-
advance_balanceMonetarycompute='_compute_advance_balance'currency_field='currency_id'help='The available balance in the selected advance line'readonly=Truestring='Available Balance' -
advance_line_idMany2one → account.move.linecomodel_name='account.move.line'domain="[('id', 'in', available_advance_line_ids)]"help='The advance line to be used for compensation'required=Truestring='Advance Line' -
amountMonetarycurrency_field='currency_id'help='The amount to be compensated'required=Truestring='Compensation Amount' -
available_advance_line_idsMany2many → account.move.linecomodel_name='account.move.line'compute='_compute_available_advance_lines'help='Available advance lines for compensation' -
currency_idMany2one → res.currencycomodel_name='res.currency'compute='_compute_currency'help='The currency of the compensation'readonly=Falsestore=Truestring='Currency' -
dateDatedefault=fields.Date.context_todayhelp='The date of the compensation'required=Truestring='Compensation Date' -
invoice_line_idMany2one → account.move.linecomodel_name='account.move.line'domain="[('move_id', '=', move_id), ('amount_residual', '!=', 0)]"help='The invoice line to be compensated'required=Truestring='Invoice Line' -
journal_idMany2one → account.journalcomodel_name='account.journal'domain="[('is_advance_journal', '=', True)]"help='The journal to be used for the compensation entry'required=Truestring='Journal' -
move_idMany2one → account.movecomodel_name='account.move'default=<expr>help='Invoice to be compensated with an advance.'readonly=Truerequired=Truestring='Invoice'
-
action_confirm_compensation(self)
-
is_advance_journalBooleanhelp='Check this box if this journal is for compensation advances'string='Is Compensation Advance Journal'
No public methods.
-
advance_invoiceBooleancompute='_compute_advance_invoice'help='Indicates whether this invoice has eligible advance payments available'string='Has Advance Payments'
-
action_open_advance_compensation(self)
No new fields.
Public methods (1)-
name_get(self)
Loading…