-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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
No new fields.
Public methods (1)-
confirm(self)Override to include analytic_distribution in WIP move lines.
-
company_idMany2one → res.companyreadonly=Truerelated='wip_accounting_id.journal_id.company_id'store=True args: 'res.company'
No public methods.
-
analytic_distributionJsoninverse='_inverse_analytic_distribution'
-
button_mark_done(self)
-
mrp_analytic_on_finishedBoolean
No public methods.
-
mrp_analytic_on_finishedBooleanreadonly=Falserelated='company_id.mrp_analytic_on_finished'
No public methods.
No new fields.
Public methods (1)-
create(self, vals_list)@api.model_create_multi
Loading…
Loading…
Loading…
Loading…