TIP: You can type at any time to perform a new search.
Accounting - MRP
mrp_account · odoo/odoo
- Repository
- odoo/odoo · module folder
- Module version
- 1.0
- Category
- Supply Chain/Manufacturing
- Folder size
- 1.36 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- Yes
- Website
- https://www.odoo.com/app/manufacturing
- Last tracking update
- 2026-08-15 22:44:16
- Authors
- Odoo S.A.
- Maintainers
- Odoo S.A.
- Committers
- Raphael Collet, Odoo Translation Bot, Arnold Moyaux, Julien Castiaux, Victor Feyens, William Henrotin, svs-odoo, Tiffany Chang (tic), Gorash, William Braeckman, william-andre, JF Aubert, David (dafr), luvi, Adrien Widart (awt), Pieter Claeys (clpi), clesgow, Dylan Kiss (dyki), Jinane Maksoud, Paweł Fertyk, Arnaud Sibille, Ethan Vincent, kcv-odoo, Louis Gobert, nihp-odoo, Stéphane Diez, djameltouati, Mahdi Alijani (malj), MaximeNoirhomme, plha-odoo, Krzysztof Magusiak (krma), joseph, Robin Engels (roen), nsirjacobs, agbr-odoo, Lulu Grimalkin (lugr), Yash Pathak, Lancelot Semal, Amr Elkhatieb, Robert Smith (rosm), Eve Lin (evlin), siha-odoo, lase, ddba-odoo, Karim Gamaleldin
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- mrp_subcontracting_account, project_mrp_account
- Description
Analytic Accounting in MRP ========================== * Cost structure report Also, allows to compute the cost of the product based on its BoM, using the costs of its components and work center operations. It adds a button on the product itself but also an action in the list view of the products. If the automated inventory valuation is active, the necessary accounting entries will be created.
Code Analysis ⓘ
Views touched (10)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_analytic_account_view_form_mrp |
account.analytic.account.form.mrp | account.analytic.account | form | Inherits analytic.view_account_analytic_account_form |
mrp_account.report_wip |
mrp_account.report_wip | ir.ui.view | qweb | New |
mrp_production_form_view_inherited |
mrp.production.view.inherited | mrp.production | form | Inherits mrp.mrp_production_form_view |
mrp_workcenter_view_inherit |
mrp.workcenter.form.inherit | mrp.workcenter | form | Inherits mrp.mrp_workcenter_view |
product_product_ext_form_view2 |
product_extended.product.form.view | product.template | form | Inherits product.product_template_only_form_view |
product_product_view_form_normal_inherit_extended |
product.product.view.form.normal.inherit.extended | product.product | form | Inherits product.product_normal_form_view |
product_variant_easy_edit_view_bom_inherit |
product.product.product.view.form.easy.bom.inherit | product.product | form | Inherits product.product_variant_easy_edit_view |
view_move_form_inherit_mrp_account |
account.move.inherit.mrp.account | account.move | form | Inherits account.view_move_form |
view_production_graph_inherit_mrp_account |
mrp.production.graph.inherited.mrp.account | mrp.production | graph | Inherits mrp.view_production_graph |
view_wip_accounting_form |
Post WIP Accounting Entry | mrp.account.wip.accounting | form | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (18)
New fields (6)
-
bom_countIntegercompute='_compute_bom_count' args: 'BoM Count' -
bom_idsMany2many → mrp.bomargs: 'mrp.bom' -
production_countIntegercompute='_compute_production_count' args: 'Manufacturing Orders Count' -
production_idsMany2many → mrp.productionargs: 'mrp.production' -
workcenter_idsMany2many → mrp.workcenterargs: 'mrp.workcenter' -
workorder_countIntegercompute='_compute_workorder_count' args: 'Work Order Count'
-
action_view_mrp_bom(self) -
action_view_mrp_production(self) -
action_view_workorder(self)
New fields (1)
-
business_domainSelectionondelete={'manufacturing_order': 'cascade'}selection_add=[('manufacturing_order', 'Manufacturing Order')]
No public methods.
New fields (1)
-
categorySelectionselection_add=[('manufacturing_order', 'Manufacturing Order')]
No public methods.
New fields (2)
-
wip_production_countIntegercompute='_compute_wip_production_count' args: 'Manufacturing Orders Count' -
wip_production_idsMany2many → mrp.productioncopy=Falsehelp='The MOs that this WIP entry was based on. Expected to be set at time of WIP entry creation.'string='Relevant WIP MOs' args: 'mrp.production', 'wip_move_production_rel', 'move_id', 'production_id'
-
action_view_wip_production(self) -
copy(self, default=None)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (6)
-
dateDatedefault=fields.Datetime.now args: 'Date' -
journal_idMany2one → account.journalrequired=True args: 'account.journal', 'Journal' -
line_idsOne2many → mrp.account.wip.accounting.linecompute='_compute_line_ids'readonly=Falsestore=True args: 'mrp.account.wip.accounting.line', 'wip_accounting_id', 'WIP accounting lines' -
mo_idsMany2many → mrp.productionargs: 'mrp.production' -
referenceCharargs: 'Reference' -
reversal_dateDatecompute='_compute_reversal_date'readonly=Falserequired=Truestore=True args: 'Reversal Date'
-
confirm(self) -
default_get(self, fields)@api.model
New fields (6)
-
account_idMany2one → account.accountargs: 'account.account', 'Account' -
creditMonetarycompute='_compute_credit'readonly=Falsestore=True args: 'Credit' -
currency_idMany2one → res.currencydefault=<expr> args: 'res.currency', 'Currency' -
debitMonetarycompute='_compute_debit'readonly=Falsestore=True args: 'Debit' -
labelCharargs: 'Label' -
wip_accounting_idMany2one → mrp.account.wip.accountingargs: 'mrp.account.wip.accounting', 'WIP accounting wizard'
No public methods.
New fields (4)
-
extra_costFloatcopy=Falsestring='Extra Unit Cost' -
show_valuationBooleancompute='_compute_show_valuation' -
wip_move_countIntegercompute='_compute_wip_move_count' args: 'WIP Journal Entry Count' -
wip_move_idsMany2many → account.movecopy=False args: 'account.move', 'wip_move_production_rel', 'production_id', 'move_id'
-
action_view_move_wip(self) -
write(self, vals)
New fields (2)
-
costs_hour_account_idsMany2many → account.analytic.accountcompute='_compute_costs_hour_account_ids'store=True args: 'account.analytic.account' -
expense_account_idMany2one → account.accountcheck_company=Truehelp='The expense is accounted for when the manufacturing order is marked as done. If not set, it is the expense account of the final product that will be used instead.'string='Expense Account' args: 'account.account'
No public methods.
New fields (1)
-
account_move_line_idMany2one → account.move.lineargs: 'account.move.line'
No public methods.
New fields (2)
-
mo_analytic_account_line_idsMany2many → account.analytic.linecopy=False args: 'account.analytic.line', 'mrp_workorder_mo_analytic_rel' -
wc_analytic_account_line_idsMany2many → account.analytic.linecopy=False args: 'account.analytic.line', 'mrp_workorder_wc_analytic_rel'
-
action_cancel(self) -
unlink(self)
New fields (1)
-
property_stock_account_production_cost_idMany2one → account.accountcheck_company=Truecompany_dependent=Truehelp='This account will be used as a valuation counterpart for both components and final products for manufacturing orders.\n If there are any workcenter/employee costs, this value will remain on the account once the production is completed.'ondelete='restrict' args: 'account.account', 'Production Account'
No public methods.
New fields (0)
No new fields.
Public methods (2)-
action_bom_cost(self) -
button_bom_cost(self)
New fields (0)
No new fields.
Public methods (2)-
action_bom_cost(self) -
button_bom_cost(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…