MRP Properties on Sale Order Lines
mrp_property · OCA/manufacture
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 98 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 10.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
6 migration notes
6 models
6 views
0 HTTP endpoints
Migration considerations
MrpProperty— 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) migration-api-multi-one · sourceProcurementOrder— 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) migration-api-multi-one · sourceSaleOrderLine— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceStockMove— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourcemrp_property_group_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcemrp_property_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · 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 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
mrp_bom_form_view |
mrp.bom | form | Inherits mrp.mrp_bom_form_view | |
mrp_property_group_tree_view |
mrp.property.group | tree | New | |
mrp_property_tree_view |
mrp.property | tree | New | |
procurement_form_view |
procurement.order | form | Inherits procurement.procurement_form_view | |
view_mrp_property_search |
mrp.property.search | mrp.property | search | New |
view_order_form_inherit_sale_mrp |
sale.order | form | Inherits sale.view_order_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 6
New fields (1)
-
property_idsMany2many → mrp.propertyhelp='If a production product is manufactured for a sale order, the BoM that has the same properties as the sale order line will be selected (a BoM with no properties at all could be selected as a fallback.'string='Properties' args: 'mrp.property', 'mrp_bom_mrp_property_rel', 'mrp_bom_id', 'mrp_property_id'
-
search(self, args, offset=0, limit=None, order=None, count=False)@api.modelIf limit is set to 1 and property_ids is set in the context, search a BoM which has all properties specified, or if you can not find one, you return a BoM without any properties with the lowest sequence.
New fields (3)
-
descriptionText -
group_idMany2one → mrp.property.grouprequired=True args: 'mrp.property.group', 'Property Group' -
nameCharrequired=True
-
unlink(self)@api.multiRestrict the removal of properties that are in use
New fields (2)
-
descriptionText -
nameCharrequired=True
No public methods.
New fields (1)
-
property_idsMany2many → mrp.propertyhelp='The BoM that has the same properties as this procurement will be selected unless there is a BoM with no properties at all.'string='Properties' args: 'mrp.property', 'procurement_property_rel', 'procurement_id', 'property_id'
No public methods.
New fields (1)
-
property_idsMany2many → mrp.propertyhelp='If a production product is manufactured for this sale order, the BoM that has the same properties as the sale order line will be selected (a BoM with no properties at all could be selected as a fallback'readonly=Truestates={'draft': [('readonly', False)], 'sent': [('readonly', False)]} args: 'mrp.property', 'sale_order_line_property_rel', 'order_id', 'property_id', 'Properties'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
action_explode(self)@api.multiPass the properties from the procurement in the context for the selection of the right BoM