Repository
OCA/manufacture · module folder · Try on Runboat
Module version
1.0.0
Category
Warehouse
Folder size
0.08 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/manufacture
Last tracking update
2026-09-14 17:17:08
Authors
Odoo Community Association (OCA), Moduon
Maintainers
Odoo Community Association (OCA), Moduon
Committers
David Vidal, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Propagates selected stock lot fields from a consumed component to the produced
lots of a manufacturing order, including flagged by-products.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
mrp_bom_form_view mrp.bom.form.inherit.propagate.lot.info mrp.bom form Inherits mrp.mrp_bom_form_view
mrp_lot_info_propagation_profile_view_form mrp.lot.info.propagation.profile.form mrp.lot.info.propagation.profile form New
mrp_lot_info_propagation_profile_view_list mrp.lot.info.propagation.profile.list mrp.lot.info.propagation.profile list New
mrp_production_form_view mrp.production.form.inherit.propagate.lot.info mrp.production form Inherits mrp.mrp_production_form_view
product_category_form_view product.category.form.inherit.propagate.lot.info product.category form Inherits product.product_category_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (1)
  • propagate_lot_info Boolean
    help='Propagate the configured component lot values to this by-product lot.'
Public methods (0)

No public methods.

New fields (2)
  • propagate_lot_field_ids Many2many → ir.model.fields
    comodel_name='ir.model.fields' related='propagate_lot_profile_id.propagate_lot_field_ids' string='Lot fields to propagate'
  • propagate_lot_profile_id Many2one → mrp.lot.info.propagation.profile
    comodel_name='mrp.lot.info.propagation.profile' compute='_compute_propagate_lot_profile_id' inverse='_inverse_propagate_lot_profile_id' precompute=True readonly=False store=True string='Lot propagation profile'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (2)
  • name Char
    required=True translate=True
  • propagate_lot_field_ids Many2many → ir.model.fields
    comodel_name='ir.model.fields' domain=[('model', '=', 'stock.lot'), ('readonly', '=', False), ('name', 'not in', ['company_id', 'name', 'product_id']), ('store', '=', True), ('ttype', 'not in', ['binary', 'many2many', 'one2many'])] required=True string='Lot fields to propagate'
Public methods (0)

No public methods.

New fields (3)
  • propagate_lot_bom_line_id Many2one → mrp.bom.line
    comodel_name='mrp.bom.line' readonly=True string='BoM line propagating lot'
  • propagate_lot_field_ids Many2many → ir.model.fields
    comodel_name='ir.model.fields' readonly=True string='Lot fields to propagate'
  • propagate_lot_profile_id Many2one → mrp.lot.info.propagation.profile
    comodel_name='mrp.lot.info.propagation.profile' readonly=True string='Lot propagation profile'
Public methods (2)
  • action_confirm(self)
  • button_mark_done(self)

New fields (1)
  • mrp_propagate_lot_profile_id Many2one → mrp.lot.info.propagation.profile
    comodel_name='mrp.lot.info.propagation.profile' help='Default lot propagation profile for consumed components in manufacturing.' string='MRP Lot Propagation Profile'
Public methods (0)

No public methods.