TIP: You can type at any time to perform a new search.
MRP Properties on Sale Order Lines
mrp_property · OCA/manufacture
- Repository
- OCA/manufacture · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Manufacturing
- Folder size
- 0.05 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/oca/manufacture
- Last tracking update
- 2026-08-07 07:17:46
- Authors
- Odoo Community Association (OCA), Odoo S.A., Opener B.V.
- Maintainers
- Odoo Community Association (OCA), Odoo S.A., Opener B.V.
- Committers
- Stefan Rijnhart, OCA-git-bot, oca-travis
Code Analysis ⓘ
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