Estimated costs in manufacturing orders
mrp_production_estimated_cost · OCA/manufacture
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 112 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
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.78 MB
Module directory on disk
Code analysis
11 migration notes
5 models
13 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
MrpProduction— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (8 methods) migration-api-multi-one · sourceProductProduct— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceWizCreateVirtualMo— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceestimated_cost_list_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcemrp_production_form_view_inh_estimatedcost— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceproduct_product_form_view_bom_button_inh_estimatedcost— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. (2 occurrences in this file) migration-view-attrs-states · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 13
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
estimated_cost_list_view |
estimated.cost.list.view | account.analytic.line | tree | New |
mrp.mrp_production_buttons |
mrp.production.buttons | mrp.production | form | Inherits mrp.mrp_production_form_view |
mrp.mrp_production_form_view_costs |
mrp.production.form.view.costs | mrp.production | form | Inherits mrp.mrp_production_form_view |
mrp_production_buttons_inh_estimatedcost |
mrp.production.buttons.inh.estimatedcost | mrp.production | form | Inherits mrp.mrp_production_buttons |
mrp_production_form_view |
Manufacturing order form (active field) | mrp.production | form | Inherits mrp.mrp_production_form_view |
mrp_production_form_view_inh_estimatedcost |
mrp.production.form.view.inh.estimatedcost | mrp.production | form | Inherits mrp.mrp_production_form_view_costs |
mrp_production_tree_view_inh_estimatedcost |
mrp.production.tree.view.inh.estimatedcost | mrp.production | tree | Inherits mrp.mrp_production_tree_view |
product_product_form_view_bom_button_inh_estimatedcost |
product.product.form.view.bom.button.inh.estimatedcost | product.product | form | Inherits mrp.product_product_form_view_bom_button |
product_template_form_view |
product.template.form.view.estimatedcost | product.template | form | Inherits product.product_template_form_view |
product_template_form_view_bom_button_inh_estimatedcost |
product.template.form.view.bom.button.inh.estimatedcost | product.template | form | 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 | form | Inherits account.view_account_analytic_line_form |
view_account_analytic_line_tree_inh_estimatedcost |
view.account.analytic.line.tree.inh.estimatedcost | account.analytic.line | tree | Inherits account.view_account_analytic_line_tree |
wiz_create_virtual_mo_view |
wiz.create.virtual.mo.view | wiz.create.virtual.mo | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (2)
-
estim_avg_costFloatdigits=dp.get_precision('Product Price')string='Estimated Average Cost' -
estim_std_costFloatdigits=dp.get_precision('Product Price')string='Estimated Standard Cost'
No public methods.
New fields (10)
-
activeBooleandefault=Truestring='Active' -
analytic_line_idsOne2many → account.analytic.linecomodel_name='account.analytic.line'inverse_name='mrp_production_id'string='Cost Lines' -
avg_costFloatcompute='_compute_unit_avg_cost'store=Truestring='Estimated Average Cost' -
created_estimated_costIntegercompute='_count_created_estimated_cost'string='Estimated Costs' -
nameChardefault='/' -
product_costFloatrelated='product_id.standard_price'string='Product Cost' -
product_manual_costFloatrelated='product_id.manual_standard_cost'string='Product Manual Cost' -
std_costFloatcompute='_compute_unit_std_cost'store=Truestring='Estimated Standard Cost' -
unit_avg_costFloatcompute='_compute_unit_avg_cost'store=Truestring='Estimated Average Unit Cost' -
unit_std_costFloatcompute='_compute_unit_std_cost'store=Truestring='Estimated Standard Unit Cost'
-
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_costFloatdigits=dp.get_precision('Product Price')string='Manual Standard Cost'
-
write(self, vals)@api.multi
New fields (1)
-
manual_standard_costFloatdigits=dp.get_precision('Product Price')string='Manual Standard Cost'
No public methods.
New fields (3)
-
analytic_account_idMany2one → account.analytic.accountcomodel_name='account.analytic.account'string='Analytic account' -
date_plannedDatetimedefault=fields.Datetime.nowrequired=Truestring='Scheduled Date' -
load_on_productBooleanargs: 'Load cost on product'
-
do_create_virtual_mo(self)@api.multi