TIP: You can type at any time to perform a new search.
Purchase order lines with sequence number
purchase_order_reorder_lines · OCA/purchase-workflow
- 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
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_sequenceIntegercompute='compute_max_line_sequence'string='Max sequence in lines'
-
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)
-
sequenceIntegerdefault=10help='Gives the sequence of this line when displaying the purchase order.'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
makeInvoices(self)@api.multi
Loading…