Repository
OCA/purchase-workflow · module folder · Try on Runboat
Module version
1.0.1
Category
Purchase Management
Folder size
0.13 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://www.camptocamp.com
Last tracking update
2026-08-07 07:03:09
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Stéphane Bidoul, Pedro M. Baeza, Stéphane Bidoul (ACSONE), Weblate, OCA Transbot, Damien Crier, OCA-git-bot, oca-travis
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order form Inherits purchase.purchase_order_form
purchase_order_line_form purchase.order.line.form purchase.order.line form Inherits purchase.purchase_order_line_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (1)
  • max_line_sequence Integer
    compute='compute_max_line_sequence' string='Max sequence in lines'
Public methods (1)
  • compute_max_line_sequence(self)
    @api.one@api.depends('order_line')
    Allow to know the highest sequence entered in purchase order lines. Web add 10 to this value for the next sequence This value is given to the context of the o2m field in the view. So when we create new purchase order lines, the sequence is automatically max_sequence + 10

New fields (1)
  • sequence Integer
    default=10 help='Gives the sequence of this line when displaying the purchase order.'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • makeInvoices(self)
    @api.multi

Loading…