Purchase order lines with sequence number
purchase_order_reorder_lines · OCA/purchase-workflow
Renamed to purchase_order_line_sequence in 9.0
OCA/sale-workflow 7.0 → OCA/purchase-workflow 8.0
Health
42/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 102 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
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
3 migration notes
3 models
2 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
PurchaseOrder— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) (2 occurrences in this file) migration-api-multi-one · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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…