Repository
OCA/manufacture · module folder · Try on Runboat
Module version
1.1.2
Category
Manufacturing
Folder size
0.13 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/manufacture
Last tracking update
2026-08-07 08:42:53
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Akim Juillerat, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Allow to propagate a lot number from a component to a finished product.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
mrp_bom_form_view mrp.bom.form.inherit mrp.bom form Inherits mrp.mrp_bom_form_view
mrp_production_form_view mrp.production.form.inherit mrp.production form Inherits mrp.mrp_production_form_view
view_mrp_batch_produce_form view_mrp_batch_produce_form mrp.batch.produce form Inherits mrp.view_mrp_batch_produce_form
view_mrp_batch_produce_propagate_form mrp.batch.produce.propagate.form mrp.batch.produce.propagate form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (8)

New fields (2)
  • is_lot_number_propagated Boolean
    related='production_id.is_lot_number_propagated'
  • lot_number_propagation_alert_msg Char
    compute='_compute_lot_number_propagation_alert_msg'
Public methods (0)

No public methods.

New fields (1)
  • production_ids Many2many → mrp.production
    readonly=True args: 'mrp.production'
Public methods (2)
  • action_done(self)
  • action_prepare(self)

New fields (2)
  • display_lot_number_propagation Boolean
    compute='_compute_display_lot_number_propagation'
  • lot_number_propagation Boolean
    default=False help='Allow to propagate the lot/serial number from a component to the finished product.'
Public methods (1)
  • onchange_display_lot_number_propagation(self)
    @api.onchange('display_lot_number_propagation')

New fields (2)
  • display_propagate_lot_number Boolean
    compute='_compute_display_propagate_lot_number'
  • propagate_lot_number Boolean
    default=False
Public methods (0)

No public methods.

New fields (2)
  • is_lot_number_propagated Boolean
    default=False help='Lot/serial number is propagated from a component to the finished product.' readonly=True
  • propagated_lot_producing Char
    compute='_compute_propagated_lot_producing' help='The BoM used on this manufacturing order is set to propagate lot number from one of its components. The value will be computed once the corresponding component is selected.'
Public methods (3)
  • action_confirm(self)
  • pre_button_mark_done(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • propagate_lot_number Boolean
    default=False readonly=True
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…