TIP: You can type at any time to perform a new search.
Payment Register with Multiple Deduction
account_payment_multi_deduction · OCA/account-payment
- Repository
- OCA/account-payment · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Accounting
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-payment
- Last tracking update
- 2026-08-07 08:42:55
- Authors
- Odoo Community Association (OCA), Ecosoft
- Maintainers
- Odoo Community Association (OCA), Ecosoft
- Committers
- Saran440, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- l10n_th_account_tax_multi
- Description
This module extend invoice(s)'s register payment feature, from "Mark invoice as fully paid" with a single writeoff amount, to "Mark invoice as fully paid (multi deduct)" which allow multiple deduction amounts. **Note:** We use the word "Deduction", as the diff amount can be anything not only to writeoff.
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_account_payment_register_form |
account.payment.register.form | account.payment.register | form | Inherits account.view_account_payment_register_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (1)
-
is_writeoffBoolean
No public methods.
New fields (7)
-
account_idMany2one → account.accountcheck_company=Truecomodel_name='account.account'domain=[('deprecated', '=', False)] -
amountMonetaryrequired=Truestring='Deduction Amount' -
company_idMany2one → res.companycomodel_name='res.company'related='register_payment_id.company_id' -
currency_idMany2one → res.currencycomodel_name='res.currency'related='register_payment_id.currency_id' -
is_openBooleanhelp='Keep this line open'string='Open' -
nameCharrequired=Truestring='Label' -
register_payment_idMany2one → account.payment.registercomodel_name='account.payment.register'index=Trueondelete='cascade'readonly=True
No public methods.
New fields (4)
-
deduct_analytic_distributionJson -
deduct_residualMonetarycompute='_compute_deduct_residual'string='Remainings' -
deduction_idsOne2many → account.payment.deductioncomodel_name='account.payment.deduction'copy=Falsehelp='Sum of deduction amount(s) must equal to the payment difference'inverse_name='register_payment_id'string='Deductions' -
payment_difference_handlingSelectionondelete={'reconcile_multi_deduct': 'cascade'}selection_add=[('reconcile_multi_deduct', 'Mark invoice as fully paid (multi deduct)')]
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…