TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/purchase-workflow · module folder · Try on Runboat
Module version
Category
Purchase
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/purchase-workflow
Last tracking update
2026-09-08 11:05:01
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Vincent Van Rossem, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
lxml, unidecode
System dependencies
None
Required by
None
Description
The module allows to add advance payment lines on purchase orders.

Code Analysis info_outline

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)