TIP: You can type at any time to perform a new search.
MRP Stock Analytic
mrp_stock_analytic · OCA/account-analytic
Security findings
- Repository
- OCA/account-analytic · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Manufacturing/Manufacturing
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-analytic
- Last tracking update
- 2026-09-23 17:21:02
- Authors
- Odoo Community Association (OCA), Quartile
- Maintainers
- Odoo Community Association (OCA), Quartile
- Committers
- Aungkokolin1997, OCA-git-bot, oca-ci, yostashiro
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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.
Code Analysis
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)
New fields (0)
No new fields.
Public methods (1)-
confirm(self)Override to include analytic_distribution in WIP move lines.
New fields (1)
-
company_idMany2one → res.companyreadonly=Truerelated='wip_accounting_id.journal_id.company_id'store=True args: 'res.company'
No public methods.
New fields (1)
-
analytic_distributionJsoninverse='_inverse_analytic_distribution'
-
button_mark_done(self)
New fields (1)
-
mrp_analytic_on_finishedBoolean
No public methods.
New fields (1)
-
mrp_analytic_on_finishedBooleanreadonly=Falserelated='company_id.mrp_analytic_on_finished'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
create(self, vals_list)@api.model_create_multi
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 12 days ago
- Last activity
- 12 days ago
- Repository
- OCA/account-analytic
- Pull request
- [19.0][MIG] mrp_stock_analytic: Migration to 19.0 (#971)