Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 16.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.07 MB
Module directory on disk
Code analysis 0 migration notes 6 models 4 views 0 HTTP endpoints

Description

Allows to assign the analytic distribution in the manufacturing order, which propagates the value to the component stock moves. Optionally, it can also propagate to finished product moves (including byproducts) when the corresponding setting is enabled.

This function can be useful when cost analysis needs to be done on consumed components or finished products.

Additionally, analytic distribution from manufacturing orders is propagated to WIP accounting entries. When creating WIP journal entries through the WIP Accounting wizard, the analytic distribution is automatically applied to the WIP account move lines. When multiple manufacturing orders with different analytic distributions are selected, separate WIP lines are created for each analytic distribution.

This module depends on OCA module stock_analytic.

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 4

XML IDNameModelTypeStatus
mrp_production_form_view mrp.production.form mrp.production form Inherits mrp_account.mrp_production_form_view_inherited
mrp_production_tree_view mrp.production.tree mrp.production tree Inherits mrp.mrp_production_tree_view
res_config_settings_view_form res.config.settings.view.form.inherit.mrp_stock_analytic res.config.settings form Inherits stock_account.res_config_settings_view_form
view_wip_accounting_form mrp.account.wip.accounting.form.inherit.mrp_stock_analytic mrp.account.wip.accounting form Inherits mrp_account.view_wip_accounting_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 6

New fields (0)

No new fields.

Public methods (1)
  • confirm(self)
    Override to include analytic_distribution in WIP move lines.

New fields (1)
  • company_id Many2one → res.company
    readonly=True related='wip_accounting_id.journal_id.company_id' store=True args: 'res.company'
Public methods (0)

No public methods.

New fields (1)
  • analytic_distribution Json
    inverse='_inverse_analytic_distribution'
Public methods (1)
  • button_mark_done(self)

New fields (1)
  • mrp_analytic_on_finished Boolean
Public methods (0)

No public methods.

New fields (1)
  • mrp_analytic_on_finished Boolean
    readonly=False related='company_id.mrp_analytic_on_finished'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

Loading…

Loading…

Loading…

Loading…