From f32bfc452b996a92d85a289a1e09c27d79bb69e4 Mon Sep 17 00:00:00 2001 From: Vijaykumar Baladaniya Date: Thu, 22 Nov 2012 17:09:04 +0530 Subject: [PATCH 1/2] [IMP] Improve demo data of the contract. bzr revid: vba@tinyerp.com-20121122113904-flqg5818ew61oai9 --- addons/account/project/analytic_account_demo.xml | 1 + addons/account_analytic_analysis/__openerp__.py | 2 +- .../analytic_account_demo.xml | 15 +++++++++++++++ .../hr_timesheet_invoice_demo.xml | 10 ++++++++++ 4 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 addons/account_analytic_analysis/analytic_account_demo.xml diff --git a/addons/account/project/analytic_account_demo.xml b/addons/account/project/analytic_account_demo.xml index 2c4acc6bc45..743a663cfdf 100644 --- a/addons/account/project/analytic_account_demo.xml +++ b/addons/account/project/analytic_account_demo.xml @@ -74,6 +74,7 @@ Consultancy contract + Training diff --git a/addons/account_analytic_analysis/__openerp__.py b/addons/account_analytic_analysis/__openerp__.py index 7675ef9f38e..e69dc9697c5 100644 --- a/addons/account_analytic_analysis/__openerp__.py +++ b/addons/account_analytic_analysis/__openerp__.py @@ -44,7 +44,7 @@ Adds menu to show relevant information to each manager.You can also view the rep 'css': [ 'static/src/css/analytic.css' ], - 'demo': [], + 'demo': ['analytic_account_demo.xml'], 'installable': True, 'auto_install': False, } diff --git a/addons/account_analytic_analysis/analytic_account_demo.xml b/addons/account_analytic_analysis/analytic_account_demo.xml new file mode 100644 index 00000000000..604ecf88392 --- /dev/null +++ b/addons/account_analytic_analysis/analytic_account_demo.xml @@ -0,0 +1,15 @@ + + + + + True + 240 + True + + + True + 64 + + + + diff --git a/addons/hr_timesheet_invoice/hr_timesheet_invoice_demo.xml b/addons/hr_timesheet_invoice/hr_timesheet_invoice_demo.xml index 0ebe16ad49f..1c7f5574619 100644 --- a/addons/hr_timesheet_invoice/hr_timesheet_invoice_demo.xml +++ b/addons/hr_timesheet_invoice/hr_timesheet_invoice_demo.xml @@ -20,5 +20,15 @@ + + + + 100000 + + + + + + From 2d6d35e4ffc6b2fedd4dd3643fe27d3e23f6155b Mon Sep 17 00:00:00 2001 From: Vijaykumar Baladaniya Date: Thu, 22 Nov 2012 19:06:02 +0530 Subject: [PATCH 2/2] [IMP] Improve demo data. bzr revid: vba@tinyerp.com-20121122133602-pm622d2e21vxcyct --- addons/account/project/analytic_account_demo.xml | 2 +- .../analytic_account_demo.xml | 10 ++++++++++ .../hr_timesheet_invoice/hr_timesheet_invoice_demo.xml | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/addons/account/project/analytic_account_demo.xml b/addons/account/project/analytic_account_demo.xml index 743a663cfdf..ab1b945c011 100644 --- a/addons/account/project/analytic_account_demo.xml +++ b/addons/account/project/analytic_account_demo.xml @@ -74,7 +74,7 @@ Consultancy contract - + Training diff --git a/addons/account_analytic_analysis/analytic_account_demo.xml b/addons/account_analytic_analysis/analytic_account_demo.xml index 604ecf88392..e216e48492b 100644 --- a/addons/account_analytic_analysis/analytic_account_demo.xml +++ b/addons/account_analytic_analysis/analytic_account_demo.xml @@ -9,7 +9,17 @@ True 64 + True + + + + + + + + + diff --git a/addons/hr_timesheet_invoice/hr_timesheet_invoice_demo.xml b/addons/hr_timesheet_invoice/hr_timesheet_invoice_demo.xml index 1c7f5574619..7a9283aa525 100644 --- a/addons/hr_timesheet_invoice/hr_timesheet_invoice_demo.xml +++ b/addons/hr_timesheet_invoice/hr_timesheet_invoice_demo.xml @@ -28,6 +28,7 @@ + 50000