[IMP] mrp_operations: Added separate data file so that workflow can be initialized even when no demo data is loaded.
bzr revid: uco@tinyerp.com-20111122051636-9ehoagna8o3x2gp7
This commit is contained in:
parent
eaebfd814d
commit
7cd33b0c42
|
@ -62,7 +62,8 @@ So that we can compare the theoretic delay and real delay.
|
||||||
'mrp_operations_view.xml',
|
'mrp_operations_view.xml',
|
||||||
'mrp_operations_report.xml',
|
'mrp_operations_report.xml',
|
||||||
'report/mrp_workorder_analysis_view.xml',
|
'report/mrp_workorder_analysis_view.xml',
|
||||||
'process/mrp_operation_process.xml'
|
'process/mrp_operation_process.xml',
|
||||||
|
'mrp_operations_data.xml'
|
||||||
],
|
],
|
||||||
'demo_xml': ['mrp_operation_data.xml'],
|
'demo_xml': ['mrp_operation_data.xml'],
|
||||||
'test': ['test/mrp_operations.yml', 'test/mrp_operations_report.yml','test/mrp_operation_test.yml'],
|
'test': ['test/mrp_operations.yml', 'test/mrp_operations_report.yml','test/mrp_operation_test.yml'],
|
||||||
|
|
|
@ -30,8 +30,5 @@
|
||||||
<field name="start_stop">done</field>
|
<field name="start_stop">done</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<!-- Initialize workflow instance -->
|
|
||||||
<function model="mrp_operations.operation" name="initialize_workflow_instance"/>
|
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</openerp>
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<openerp>
|
||||||
|
<data noupdate="1">
|
||||||
|
|
||||||
|
<!-- Initialize workflow instance -->
|
||||||
|
<function model="mrp_operations.operation" name="initialize_workflow_instance"/>
|
||||||
|
|
||||||
|
</data>
|
||||||
|
</openerp>
|
||||||
|
|
Loading…
Reference in New Issue