Bill of Material Selection Reference

mrp_bom_reference_selection
REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/10.0/mrp_bom_reference_selection
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYOthers
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSSavoir-faire Linux
MAINTAINERS
MAINTAINERSSavoir-faire Linux
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - stock
    - procurement
    - barcodes
    - web_planner
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
mrp_bom_form_view mrp.bom.form mrp.bom xpath Inherits mrp.mrp_bom_form_view
mrp_bom_tree_view mrp.bom.tree mrp.bom tree New
search_product_lot_filter stock.production.lot.filter stock.production.lot field Inherits stock.search_product_lot_filter
view_mrp_product_produce_wizard mrp.product.produce.form mrp.product.produce field Inherits mrp.view_mrp_product_produce_wizard
view_production_lot_form stock.production.lot.form stock.production.lot field Inherits stock.view_production_lot_form
view_production_lot_tree stock.production.lot.tree stock.production.lot field Inherits stock.view_production_lot_tree
Models touched (6)

New fields (1)
  • reference_id One2many → mrp.bom.reference
    string='BoM Reference' args: 'mrp.bom.reference', 'bom_id'
Public methods (1)
  • create(self, vals)
    @api.model

New fields (4)
  • child_line_ids One2many
    compute='_get_child_bom_lines' relation='mrp.bom.line' string='BOM lines of the referred bom'
  • product_id Many2one → product.product
    required=True string='Product' args: 'product.product'
  • product_tmpl_id Many2one → product.template
    related='product_id.product_tmpl_id' store=True args: 'product.template', 'Product Template'
  • reference_id Many2one → mrp.bom.reference
    args: 'mrp.bom.reference', 'Ref'
Public methods (1)
  • onchange_product_id(self, product_id)
    @api.multi

New fields (2)
  • bom_id Many2one → mrp.bom
    ondelete='cascade' required=True string='Bill of Material' args: 'mrp.bom'
  • name Char
    related='bom_id.code' store=True
Public methods (0)

No public methods.

New fields (1)
  • bom_id Many2one → mrp.bom
    default=_get_default_bom_id readonly=True args: 'mrp.bom', 'Bill of Material'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_produce(self, production_id, production_qty, production_mode, wiz=False)
    @api.model
    Affect the Bill of Material to each serial number related to the produced stocks

New fields (1)
  • bom_id Many2one → mrp.bom
    args: 'mrp.bom', 'Bill of Material'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/9.0/mrp_bom_reference_selection
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYOthers
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSSavoir-faire Linux
MAINTAINERS
MAINTAINERSSavoir-faire Linux
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - report
    - procurement
    - stock_account
    - stock
    - barcodes
    - web_planner
    - account
    - analytic
    - web_tip
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
mrp_bom_form_view mrp.bom.form mrp.bom xpath Inherits mrp.mrp_bom_form_view
mrp_bom_tree_view mrp.bom.tree mrp.bom tree New
search_product_lot_filter stock.production.lot.filter stock.production.lot field Inherits stock.search_product_lot_filter
view_mrp_product_produce_wizard mrp.product.produce.form mrp.product.produce field Inherits mrp.view_mrp_product_produce_wizard
view_production_lot_form stock.production.lot.form stock.production.lot field Inherits stock.view_production_lot_form
view_production_lot_tree stock.production.lot.tree stock.production.lot field Inherits stock.view_production_lot_tree
Models touched (6)

New fields (1)
  • reference_id One2many → mrp.bom.reference
    string='BoM Reference' args: 'mrp.bom.reference', 'bom_id'
Public methods (1)
  • create(self, vals)
    @api.model

New fields (4)
  • child_line_ids One2many
    compute='_get_child_bom_lines' relation='mrp.bom.line' string='BOM lines of the referred bom'
  • product_id Many2one → product.product
    required=True string='Product' args: 'product.product'
  • product_tmpl_id Many2one → product.template
    related='product_id.product_tmpl_id' store=True args: 'product.template', 'Product Template'
  • reference_id Many2one → mrp.bom.reference
    args: 'mrp.bom.reference', 'Ref'
Public methods (1)
  • onchange_product_id(self, product_id)
    @api.multi

New fields (2)
  • bom_id Many2one → mrp.bom
    ondelete='cascade' required=True string='Bill of Material' args: 'mrp.bom'
  • name Char
    related='bom_id.code' store=True
Public methods (0)

No public methods.

New fields (1)
  • bom_id Many2one → mrp.bom
    default=_get_default_bom_id readonly=True args: 'mrp.bom', 'Bill of Material'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_produce(self, production_id, production_qty, production_mode, wiz=False)
    @api.model
    Affect the Bill of Material to each serial number related to the produced stocks

New fields (1)
  • bom_id Many2one → mrp.bom
    args: 'mrp.bom', 'Bill of Material'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/8.0/mrp_bom_reference_selection
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYOthers
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Savoir-faire Linux
COMMITTERS
COMMITTERSStéphane Bidoul, Stéphane Bidoul (ACSONE), OCA Transbot, dufresnedavid, Jordi Riera, oca-travis, Weblate, OCA-git-bot, oihane, Zambu
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:24
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - report
    - procurement
    - stock_account
    - stock
    - board
    - web_kanban_gauge
    - web_kanban_sparkline
    - account
    - analytic
    - edi
    - email_template
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
mrp.mrp_bom_tree_parent_view mrp.bom.tree mrp.bom tree New
mrp_bom_form_view mrp.bom.form mrp.bom xpath Inherits mrp.mrp_bom_form_view
search_product_lot_filter stock.production.lot.filter stock.production.lot field Inherits stock.search_product_lot_filter
view_mrp_product_produce_wizard mrp.product.produce.form mrp.product.produce field Inherits mrp.view_mrp_product_produce_wizard
view_production_lot_form stock.production.lot.form stock.production.lot field Inherits stock.view_production_lot_form
view_production_lot_tree stock.production.lot.tree stock.production.lot field Inherits stock.view_production_lot_tree
Models touched (6)

New fields (1)
  • reference_id One2many → mrp.bom.reference
    comodel_name='mrp.bom.reference' inverse_name='bom_id' string='BoM Reference'
Public methods (1)
  • create(self, vals)
    @api.model

New fields (4)
  • child_line_ids One2many
    compute='_compute_child_bom_lines' relation='mrp.bom.line' string='BoM lines of the referred BoM'
  • product_id Many2one → product.product
    required=True string='Product' args: 'product.product'
  • product_tmpl_id Many2one → product.template
    related='product_id.product_tmpl_id' store=True args: 'product.template', 'Product Template'
  • reference_id Many2one → mrp.bom.reference
    comodel_name='mrp.bom.reference' string='Ref'
Public methods (1)
  • onchange_product_id(self, product_id, product_qty=0)
    @api.multi

New fields (2)
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' ondelete='cascade' required=True string='Bill of Material'
  • name Char
    related='bom_id.code' store=True
Public methods (0)

No public methods.

New fields (1)
  • bom_id Many2one → mrp.bom
    default=_get_default_bom_id readonly=True args: 'mrp.bom', 'Bill of Material'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_produce(self, production_id, production_qty, production_mode, wiz=False)
    @api.model
    Affect the Bill of Material to each serial number related to the produced stocks

New fields (1)
  • bom_id Many2one → mrp.bom
    comodel_name='mrp.bom' string='Bill of Material'
Public methods (0)

No public methods.