MRP Work Order Sequence
mrp_workorder_sequence · OCA/manufacture
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by5/250 modules depend on it
-
Maturity25/25In 8 Odoo series since 12.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
LGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
1 migration note
2 models
1 view
0 HTTP endpoints
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE mrp_workorder SET sequence = n.sequence FROM ( SELECT id, ROW_NUMBER() OVER ( PARTITION BY production_id ORDER BY sequence, id ) AS sequence FROM mrp_workorder ) AS n WHERE mrp_workorder.id = n.id` - re-check the table/column names still match after upgrading. migration-raw-sql-write · 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
Provide a new field sequence on production orders's work orders, that provides clear information on the process order of those.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
mrp_production_workorder_tree_view_inherit |
mrp.workorder.list | mrp.workorder | list | Inherits mrp.mrp_production_workorder_tree_editable_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (0)
No new fields.
Public methods (1)-
write(self, vals)
New fields (1)
-
sequenceIntegerdefault=<expr>
-
create(self, values_list)@api.model_create_multi -
unlink(self)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…