TIP: You can type at any time to perform a new search.
Payment Counterpart Lines
account_payment_line · OCA/account-payment
- Repository
- OCA/account-payment · module folder · Try on Runboat
- Module version
- 1.0.2
- Category
- Account
- Folder size
- 0.13 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-payment
- Last tracking update
- 2026-08-07 08:42:56
- Authors
- Odoo Community Association (OCA), ForgeFlow S.L.
- Maintainers
- Odoo Community Association (OCA), ForgeFlow S.L.
- Committers
- Carlos Lopez, Weblate, OCA-git-bot, oca-ci, cristina-hidalgo-tecnativa, rjaraspearhead
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module is an utility module to add lines in payment, allowing users make more complicated cases when processing payments, split on many invoices, set up specific write-off and adding some analytic information Add tool to proposal of payment distributions, ordering by due date
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_account_payment_line_tree |
view.account.payment.line.list | account.payment.counterpart.line | list | New |
view_inherit_account_payment_form |
view.inherit.account.payment.form | account.payment | form | Inherits account.view_account_payment_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (1)
-
payment_line_idMany2one → account.payment.counterpart.lineondelete='set null'string='Payment line' args: 'account.payment.counterpart.line'
No public methods.
New fields (2)
-
line_payment_counterpart_idsOne2many → account.payment.counterpart.linehelp='Use these lines to add matching lines, for example in a creditcard payment, financing interest or commission is added'string='Counterpart Lines' args: 'account.payment.counterpart.line', 'payment_id' -
writeoff_account_idMany2one → account.accountdomain="[('deprecated', '=', False), ('company_ids', '=', company_id)]"string='Write-off Account' args: 'account.account'
-
action_delete_counterpart_lines(self) -
action_draft(self) -
action_post(self) -
action_propose_payment_distribution(self)
New fields (1)
-
payment_idMany2one → account.paymentondelete='cascade'string='Payment' args: 'account.payment'
No public methods.
New fields (21)
-
account_idMany2one → account.accountcheck_company=Trueondelete='restrict'required=Truestring='Account' args: 'account.account' -
aml_amount_residualMonetarycompute='_compute_amounts'currency_field='currency_id'string='Amount Residual' -
aml_amount_residual_currencyMonetarycompute='_compute_amounts'currency_field='currency_id'string='Amount Residual Currency' -
aml_date_maturityDaterelated='aml_id.date_maturity'required=Falsestring='Date Maturity' -
aml_idMany2one → account.move.lineondelete='set null'string='Journal Item to Reconcile' args: 'account.move.line' -
amountMonetaryrequired=True -
amount_currencyMonetarycompute='_compute_amounts'currency_field='currency_id'string='Amount in Company Currency' -
analytic_account_idMany2one → account.analytic.accountcheck_company=Truecomodel_name='account.analytic.account'ondelete='restrict'string='Analytic Account' -
commercial_partner_idMany2onerelated='partner_id.commercial_partner_id' -
company_idMany2one → res.companycomodel_name='res.company'compute='_compute_company_fields' -
currency_idMany2one → res.currencycomodel_name='res.currency'compute='_compute_company_fields'string='Currency' -
fully_paidBooleanstring='Fully Paid?' -
move_idMany2one → account.moveondelete='set null'string='Journal Entry' args: 'account.move' -
move_idsOne2many → account.move.linestring='Journal Entries Created' args: 'account.move.line', 'payment_line_id' -
nameChardefault='/'required=Truestring='Description' -
partner_idMany2one → res.partnerondelete='restrict'string='Partner' args: 'res.partner' -
residual_after_paymentMonetarycompute='_compute_amounts'currency_field='currency_id' -
residual_after_payment_currencyMonetarycompute='_compute_amounts'currency_field='currency_id' -
writeoff_account_idMany2one → account.accountcomodel_name='account.account'domain="[('deprecated', '=', False), ('company_ids', '=', company_id)]"string='Write-off account' -
writeoff_amountMonetarycompute='_compute_amounts'currency_field='currency_id'required=False -
writeoff_amount_currencyMonetarycompute='_compute_amounts'currency_field='currency_id'required=False
-
constrains_amount_residual(self)@api.constrains('amount')
Loading…
Loading…