Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 17.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
2 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis 0 migration notes 2 models 3 views 0 HTTP endpoints

Description

The module allows to add advance payment lines on purchase orders.

Dependencies

Code analysis

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

Views touched 3

XML IDNameModelTypeStatus
account_payment_line_form account.payment.line form Inherits account_payment_order.account_payment_line_form
purchase_order_form purchase.order form Inherits purchase_advance_payment.purchase_order_form
view_account_payment_form account.payment.form account.payment form Inherits account.view_account_payment_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (2)
  • payment_mode_id Many2one
    related='order_id.payment_mode_id' store=True
  • purchase_id Many2one → purchase.order
    check_company=True comodel_name='purchase.order' string='Purchase Order'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • move_line_id_change(self)
    @api.onchange('move_line_id')

New fields (5)
  • account_payment_line_count Integer
    compute='_compute_account_payment_line_count' store=True string='Payment Line Count'
  • account_payment_line_ids One2many → account.payment.line
    readonly=True string='Payment Lines' args: 'account.payment.line', 'purchase_id'
  • ongoing_account_payment_line_count Integer
    compute='_compute_account_payment_line_count' store=True string='Ongoing Payment Line Count'
  • ongoing_account_payment_line_ids One2many → account.payment.line
    domain=[('state', 'not in', ['uploaded', 'cancel'])] string='Ongoing Payment Lines' args: 'account.payment.line', 'purchase_id'
  • payment_order_ok Boolean
    related='payment_mode_id.payment_order_ok' store=True
Public methods (2)
  • action_create_account_payment_line(self)
  • action_view_ongoing_payment_lines(self)