diff --git a/addons/hr_timesheet_invoice/__openerp__.py b/addons/hr_timesheet_invoice/__openerp__.py index f45490867c2..dfcda5ec534 100644 --- a/addons/hr_timesheet_invoice/__openerp__.py +++ b/addons/hr_timesheet_invoice/__openerp__.py @@ -31,9 +31,9 @@ reports, eso.""", 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', 'depends': ['account', 'hr_timesheet'], - 'init_xml': [], - 'update_xml': [ + 'data': [ 'security/ir.model.access.csv', + 'hr_timesheet_invoice_data.xml', 'hr_timesheet_invoice_view.xml', 'hr_timesheet_invoice_wizard.xml', 'hr_timesheet_invoice_report.xml', @@ -45,11 +45,12 @@ reports, eso.""", 'wizard/hr_timesheet_invoice_create_final_view.xml', 'board_hr_timesheet_invoice.xml', ], - 'demo_xml': ['hr_timesheet_invoice_demo.xml', - ], + 'demo': [ + 'hr_timesheet_invoice_demo.xml', + ], 'test': ['test/test_hr_timesheet_invoice.yml', 'test/hr_timesheet_invoice_report.yml', - ], + ], 'installable': True, 'active': False, 'certificate': '0056091842381', diff --git a/addons/hr_timesheet_invoice/hr_timesheet_invoice_data.xml b/addons/hr_timesheet_invoice/hr_timesheet_invoice_data.xml new file mode 100644 index 00000000000..a81af0788b6 --- /dev/null +++ b/addons/hr_timesheet_invoice/hr_timesheet_invoice_data.xml @@ -0,0 +1,10 @@ + + + + + Yes (100%) + 100% + 0.0 + + + diff --git a/addons/hr_timesheet_invoice/hr_timesheet_invoice_demo.xml b/addons/hr_timesheet_invoice/hr_timesheet_invoice_demo.xml index adc9e47b033..ee6bdf23538 100644 --- a/addons/hr_timesheet_invoice/hr_timesheet_invoice_demo.xml +++ b/addons/hr_timesheet_invoice/hr_timesheet_invoice_demo.xml @@ -1,36 +1,24 @@ - - - 100% - - 0.0 - - 50% 50% Discount 50.0 - Gratis Offered developments 100.0 - - - -