Repository
OCA/manufacture · module folder · Try on Runboat
Module version
1.1.0
Category
Others
Folder size
0.03 MB
License
AGPL-3
Application
Yes
Auto-installable
No
Website
None
Last tracking update
2026-08-07 07:17:46
Authors
Savoir-faire Linux
Maintainers
Savoir-faire Linux
Committers
Pedro M. Baeza, Stéphane Bidoul (ACSONE)
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 mrp.bom form 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 search Inherits stock.search_product_lot_filter
view_mrp_product_produce_wizard mrp.product.produce.form mrp.product.produce form Inherits mrp.view_mrp_product_produce_wizard
view_production_lot_form stock.production.lot.form stock.production.lot form Inherits stock.view_production_lot_form
view_production_lot_tree stock.production.lot.tree stock.production.lot tree Inherits stock.view_production_lot_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.

Loading…

Loading…