[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:
Ujjvala Collins (OpenERP) 2011-11-22 10:46:36 +05:30
parent eaebfd814d
commit 7cd33b0c42
3 changed files with 12 additions and 4 deletions

View File

@ -62,7 +62,8 @@ So that we can compare the theoretic delay and real delay.
'mrp_operations_view.xml',
'mrp_operations_report.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'],
'test': ['test/mrp_operations.yml', 'test/mrp_operations_report.yml','test/mrp_operation_test.yml'],

View File

@ -30,8 +30,5 @@
<field name="start_stop">done</field>
</record>
<!-- Initialize workflow instance -->
<function model="mrp_operations.operation" name="initialize_workflow_instance"/>
</data>
</openerp>

View File

@ -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>