Repository
OCA/manufacture · module folder · Try on Runboat
Module version
1.0.0
Category
Manufacturing
Folder size
0.06 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 package from a component to a finished product.

This is useful for instance if you want to keep the box of one of the
component (which could have already a label stuck on it) for your
finished product.

Two constraints:

- the component quantity has to be 1 unit
- the manufacturing order has to produce exactly the BoM quantity

This is to ensure we get only one package reserved for the given
component.

Code Analysis

Views touched (2)
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
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (2)
  • display_package_propagation Boolean
    compute='_compute_display_package_propagation'
  • package_propagation Boolean
    default=False help='Allow to propagate the package from a component to the finished product.'
Public methods (1)
  • onchange_display_package_propagation(self)
    @api.onchange('display_package_propagation')

New fields (2)
  • display_propagate_package Boolean
    compute='_compute_display_propagate_package'
  • propagate_package Boolean
Public methods (0)

No public methods.

New fields (2)
  • is_package_propagated Boolean
    default=False help='Package is propagated from a component to the finished product.' readonly=True string='Is package propagated?'
  • propagated_package_id Many2one → stock.quant.package
    comodel_name='stock.quant.package' compute='_compute_propagated_package_id' help='The BoM used on this manufacturing order is set to propagate package from one of its components. The value will be computed once the corresponding component is selected.' string='Propagated package'
Public methods (1)
  • action_confirm(self)

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

No public methods.

Loading…