Skip to content
Health
68/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 8 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 2

XML IDNameModelTypeStatus
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_id Many2one → account.payment.counterpart.line
    ondelete='set null' string='Payment line' args: 'account.payment.counterpart.line'
Public methods (0)

No public methods.

New fields (2)
  • line_payment_counterpart_ids One2many → account.payment.counterpart.line
    help='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_id Many2one → account.account
    domain="[('deprecated', '=', False), ('company_ids', '=', company_id)]" string='Write-off Account' args: 'account.account'
Public methods (4)
  • action_delete_counterpart_lines(self)
  • action_draft(self)
  • action_post(self)
  • action_propose_payment_distribution(self)

New fields (1)
  • payment_id Many2one → account.payment
    ondelete='cascade' string='Payment' args: 'account.payment'
Public methods (0)

No public methods.

New fields (21)
  • account_id Many2one → account.account
    check_company=True ondelete='restrict' required=True string='Account' args: 'account.account'
  • aml_amount_residual Monetary
    compute='_compute_amounts' currency_field='currency_id' string='Amount Residual'
  • aml_amount_residual_currency Monetary
    compute='_compute_amounts' currency_field='currency_id' string='Amount Residual Currency'
  • aml_date_maturity Date
    related='aml_id.date_maturity' required=False string='Date Maturity'
  • aml_id Many2one → account.move.line
    ondelete='set null' string='Journal Item to Reconcile' args: 'account.move.line'
  • amount Monetary
    required=True
  • amount_currency Monetary
    compute='_compute_amounts' currency_field='currency_id' string='Amount in Company Currency'
  • analytic_account_id Many2one → account.analytic.account
    check_company=True comodel_name='account.analytic.account' ondelete='restrict' string='Analytic Account'
  • commercial_partner_id Many2one
    related='partner_id.commercial_partner_id'
  • company_id Many2one → res.company
    comodel_name='res.company' compute='_compute_company_fields'
  • currency_id Many2one → res.currency
    comodel_name='res.currency' compute='_compute_company_fields' string='Currency'
  • fully_paid Boolean
    string='Fully Paid?'
  • move_id Many2one → account.move
    ondelete='set null' string='Journal Entry' args: 'account.move'
  • move_ids One2many → account.move.line
    string='Journal Entries Created' args: 'account.move.line', 'payment_line_id'
  • name Char
    default='/' required=True string='Description'
  • partner_id Many2one → res.partner
    ondelete='restrict' string='Partner' args: 'res.partner'
  • residual_after_payment Monetary
    compute='_compute_amounts' currency_field='currency_id'
  • residual_after_payment_currency Monetary
    compute='_compute_amounts' currency_field='currency_id'
  • writeoff_account_id Many2one → account.account
    comodel_name='account.account' domain="[('deprecated', '=', False), ('company_ids', '=', company_id)]" string='Write-off account'
  • writeoff_amount Monetary
    compute='_compute_amounts' currency_field='currency_id' required=False
  • writeoff_amount_currency Monetary
    compute='_compute_amounts' currency_field='currency_id' required=False
Public methods (1)
  • constrains_amount_residual(self)
    @api.constrains('amount')

Loading…

Loading…