Estimated costs in manufacturing orders

mrp_production_estimated_cost
REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/8.0/mrp_production_estimated_cost
VERSION
VERSION 1.2.1
CATEGORY
CATEGORYManufacturing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), AvanzOSC, OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza, Antiun Ingenería S.L.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), AvanzOSC, OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza, Antiun Ingenería S.L.
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, agaldona, Weblate, Antonio Espinosa, Oihane Crucelaegui
WEBSITE
WEBSITEhttp://www.odoomrp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:24
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-analytic:
    - mrp_analytic
OCA/manufacture:
    - mrp_operations_project
    - mrp_project
    - mrp_operations_extension
    - mrp_hook
odoo/odoo:
    - mrp
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - report
    - procurement
    - stock_account
    - stock
    - board
    - web_kanban_gauge
    - web_kanban_sparkline
    - account
    - analytic
    - edi
    - email_template
    - resource
    - project
    - project_timesheet
    - hr_timesheet_sheet
    - hr_timesheet
    - hr
    - hr_attendance
    - hr_timesheet_invoice
    - account_analytic_analysis
    - sale
    - sales_team
    - account_voucher
    - mrp_operations
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (13)
XML IDNameModelTypeStatus
estimated_cost_list_view estimated.cost.list.view account.analytic.line tree New
mrp.mrp_production_buttons mrp.production.buttons mrp.production div Inherits mrp.mrp_production_form_view
mrp.mrp_production_form_view_costs mrp.production.form.view.costs mrp.production page Inherits mrp.mrp_production_form_view
mrp_production_buttons_inh_estimatedcost mrp.production.buttons.inh.estimatedcost mrp.production div Inherits mrp.mrp_production_buttons
mrp_production_form_view Manufacturing order form (active field) mrp.production field Inherits mrp.mrp_production_form_view
mrp_production_form_view_inh_estimatedcost mrp.production.form.view.inh.estimatedcost mrp.production button Inherits mrp.mrp_production_form_view_costs
mrp_production_tree_view_inh_estimatedcost mrp.production.tree.view.inh.estimatedcost mrp.production field Inherits mrp.mrp_production_tree_view
product_product_form_view_bom_button_inh_estimatedcost product.product.form.view.bom.button.inh.estimatedcost product.product button Inherits mrp.product_product_form_view_bom_button
product_template_form_view product.template.form.view.estimatedcost product.template field Inherits product.product_template_form_view
product_template_form_view_bom_button_inh_estimatedcost product.template.form.view.bom.button.inh.estimatedcost product.template button Inherits mrp.product_template_form_view_bom_button
view_account_analytic_line_form_inh_estimatedcost view.account.analytic.line.form.inh.estimatedcost account.analytic.line group Inherits account.view_account_analytic_line_form
view_account_analytic_line_tree_inh_estimatedcost view.account.analytic.line.tree.inh.estimatedcost account.analytic.line field Inherits account.view_account_analytic_line_tree
wiz_create_virtual_mo_view wiz.create.virtual.mo.view wiz.create.virtual.mo form New
Models touched (5)

New fields (2)
  • estim_avg_cost Float
    digits=dp.get_precision('Product Price') string='Estimated Average Cost'
  • estim_std_cost Float
    digits=dp.get_precision('Product Price') string='Estimated Standard Cost'
Public methods (0)

No public methods.

New fields (10)
  • active Boolean
    default=True string='Active'
  • analytic_line_ids One2many → account.analytic.line
    comodel_name='account.analytic.line' inverse_name='mrp_production_id' string='Cost Lines'
  • avg_cost Float
    compute='_compute_unit_avg_cost' store=True string='Estimated Average Cost'
  • created_estimated_cost Integer
    compute='_count_created_estimated_cost' string='Estimated Costs'
  • name Char
    default='/'
  • product_cost Float
    related='product_id.standard_price' string='Product Cost'
  • product_manual_cost Float
    related='product_id.manual_standard_cost' string='Product Manual Cost'
  • std_cost Float
    compute='_compute_unit_std_cost' store=True string='Estimated Standard Cost'
  • unit_avg_cost Float
    compute='_compute_unit_avg_cost' store=True string='Estimated Average Unit Cost'
  • unit_std_cost Float
    compute='_compute_unit_std_cost' store=True string='Estimated Standard Unit Cost'
Public methods (5)
  • action_confirm(self)
    @api.multi
  • action_show_estimated_costs(self)
    @api.multi
  • calculate_production_estimated_cost(self)
    @api.multi
  • create(self, values)
    @api.model
  • load_product_std_price(self)
    @api.multi

New fields (1)
  • manual_standard_cost Float
    digits=dp.get_precision('Product Price') string='Manual Standard Cost'
Public methods (1)
  • write(self, vals)
    @api.multi

New fields (1)
  • manual_standard_cost Float
    digits=dp.get_precision('Product Price') string='Manual Standard Cost'
Public methods (0)

No public methods.

New fields (3)
  • analytic_account_id Many2one → account.analytic.account
    comodel_name='account.analytic.account' string='Analytic account'
  • date_planned Datetime
    default=fields.Datetime.now required=True string='Scheduled Date'
  • load_on_product Boolean
    args: 'Load cost on product'
Public methods (1)
  • do_create_virtual_mo(self)
    @api.multi