Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 18.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis 0 migration notes 5 models 5 views 0 HTTP endpoints

Description

Propagates selected stock lot fields from a consumed component to the produced lots of a manufacturing order, including flagged by-products.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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.