Payment Counterpart Lines
account_payment_line · OCA/account-payment
Health
68/100
fair
-
Security25/25No findings
-
Activity20/25Last human commit 8 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.13 MB
Module directory on disk
Code analysis
0 migration notes
4 models
2 views
0 HTTP endpoints
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
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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…