mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
rename bom_structure_custom by bom_structure_industrial_design
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
<delete model="ir.actions.report.xml" search="[('name', '=', 'bom.structure')]" />
|
||||
<report auto="True"
|
||||
header="False"
|
||||
id="report_custom_bom_structure"
|
||||
id="report_industrial_design_bom_structure"
|
||||
model="mrp.bom"
|
||||
name="custom.bom.structure"
|
||||
rml="mrp_industrial_design_bom/report/bom_structure_custom.rml"
|
||||
name="industrialdesign.bom.structure"
|
||||
rml="mrp_industrial_design_bom/report/bom_structure_industrial_design.rml"
|
||||
string="BOM Structure"/>
|
||||
|
||||
<record model="ir.ui.view" id="mrp_bom_form_view_inherit">
|
||||
|
||||
@@ -20,4 +20,4 @@
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
import bom_structure_custom
|
||||
import bom_structure_industrial_design
|
||||
|
||||
@@ -59,9 +59,9 @@ class bom_structure(report_sxw.rml_parse):
|
||||
|
||||
return children
|
||||
|
||||
report_sxw.report_sxw('report.custom.bom.structure',
|
||||
report_sxw.report_sxw('report.industrialdesign.bom.structure',
|
||||
'mrp.bom',
|
||||
'mrp_industrial_design_bom/report/bom_structure_custom.rml',
|
||||
'mrp_industrial_design_bom/report/bom_structure_industrial_design.rml',
|
||||
parser=bom_structure,
|
||||
header='internal')
|
||||
|
||||
Reference in New Issue
Block a user