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
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
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_ids Many2many → mrp.property
    help='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'
Public methods (1)
  • search(self, args, offset=0, limit=None, order=None, count=False)
    @api.model
    If 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)
  • description Text
  • group_id Many2one → mrp.property.group
    required=True args: 'mrp.property.group', 'Property Group'
  • name Char
    required=True
Public methods (1)
  • unlink(self)
    @api.multi
    Restrict the removal of properties that are in use

New fields (2)
  • description Text
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (1)
  • property_ids Many2many → mrp.property
    help='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'
Public methods (0)

No public methods.

New fields (1)
  • property_ids Many2many → mrp.property
    help='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=True states={'draft': [('readonly', False)], 'sent': [('readonly', False)]} args: 'mrp.property', 'sale_order_line_property_rel', 'order_id', 'property_id', 'Properties'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_explode(self)
    @api.multi
    Pass the properties from the procurement in the context for the selection of the right BoM