diff --git a/addons/mrp/__openerp__.py b/addons/mrp/__openerp__.py index 83b9c4d187b..ccd6ba1de3c 100644 --- a/addons/mrp/__openerp__.py +++ b/addons/mrp/__openerp__.py @@ -63,8 +63,8 @@ Dashboard / Reports for MRP will include: 'report/mrp_report_views_main.xml', 'report/mrp_report_views.xml', 'report/mrp_production_templates.xml', - 'report/mrp_bom_templates.xml', - 'report/bom_cost.xml', + 'report/mrp_bom_structure_report_templates.xml', + 'report/mrp_bom_cost_report_templates.xml', ], 'demo': [ 'data/mrp_demo.xml', diff --git a/addons/mrp/report/__init__.py b/addons/mrp/report/__init__.py index 73a73053af1..a3ba4a1f517 100644 --- a/addons/mrp/report/__init__.py +++ b/addons/mrp/report/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. -import bom_structure -import mrp_report -import bom_cost \ No newline at end of file +import mrp_bom_cost_report +import mrp_bom_structure_report +import mrp_report \ No newline at end of file diff --git a/addons/mrp/report/bom_cost.py b/addons/mrp/report/mrp_bom_cost_report.py similarity index 96% rename from addons/mrp/report/bom_cost.py rename to addons/mrp/report/mrp_bom_cost_report.py index 54cd5ea21b7..acdd977f777 100644 --- a/addons/mrp/report/bom_cost.py +++ b/addons/mrp/report/mrp_bom_cost_report.py @@ -45,4 +45,4 @@ class MrpBomCost(models.AbstractModel): def render_html(self, docids, data=None): boms = self.env['mrp.bom'].browse(docids) res = self.get_lines(boms) - return self.env['report'].render('mrp.mrp_bom_cost', {'lines': res}) + return self.env['report'].render('mrp.mrp_bom_cost_report', {'lines': res}) diff --git a/addons/mrp/report/bom_cost.xml b/addons/mrp/report/mrp_bom_cost_report_templates.xml similarity index 98% rename from addons/mrp/report/bom_cost.xml rename to addons/mrp/report/mrp_bom_cost_report_templates.xml index 3237e55c47a..87de18872bf 100644 --- a/addons/mrp/report/bom_cost.xml +++ b/addons/mrp/report/mrp_bom_cost_report_templates.xml @@ -1,6 +1,6 @@ -