MRP Package Propagation

mrp_package_propagation
REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/18.0/mrp_package_propagation
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYManufacturing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSAkim Juillerat, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 field Inherits mrp.mrp_bom_form_view
mrp_production_form_view mrp.production.form.inherit mrp.production xpath Inherits mrp.mrp_production_form_view
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.

REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/14.0/mrp_package_propagation
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYManufacturing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSSébastien Alix, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
mrp_bom_form_view mrp.bom.form.inherit mrp.bom field Inherits mrp.mrp_bom_form_view
mrp_production_form_view mrp.production.form.inherit mrp.production xpath Inherits mrp.mrp_production_form_view
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
    default=False
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.