Skip to content
Health
54/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 21 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 14.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
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis 0 migration notes 4 models 2 views 0 HTTP endpoints

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.

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 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…