From 206b015f8b8249e53da8c83ec62ed2503c56cb59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Mon, 12 Nov 2012 18:09:56 +0100 Subject: [PATCH] [IMP] [DEMO] mail: Wip about demo data. No time enough today, will be continued asap. bzr revid: tde@openerp.com-20121112170956-o31nqximygax6is6 --- addons/mail/__openerp__.py | 5 +- addons/mail/data/mail_demo.xml | 55 ++++++++++---------- addons/mail/data/mail_group_data.xml | 17 +++---- addons/mail/data/mail_group_demo_data.xml | 62 +++++++++++++++++++++++ 4 files changed, 99 insertions(+), 40 deletions(-) create mode 100644 addons/mail/data/mail_group_demo_data.xml diff --git a/addons/mail/__openerp__.py b/addons/mail/__openerp__.py index 9ad3232d396..c535e3f7024 100644 --- a/addons/mail/__openerp__.py +++ b/addons/mail/__openerp__.py @@ -65,7 +65,10 @@ Main Features 'mail_alias_view.xml', 'res_users_view.xml', ], - 'demo': ['data/mail_demo.xml'], + 'demo': [ + 'data/mail_demo.xml', + 'data/mail_group_demo_data.xml', + ], 'installable': True, 'auto_install': False, 'application': True, diff --git a/addons/mail/data/mail_demo.xml b/addons/mail/data/mail_demo.xml index 6bef4edc2db..ef4487d3336 100644 --- a/addons/mail/data/mail_demo.xml +++ b/addons/mail/data/mail_demo.xml @@ -1,11 +1,15 @@ - + + - + none + + none + @@ -35,78 +39,75 @@ comment - - mail.group - Your monthly meal vouchers arrived. You can get them at Christine's office. -This month you also get 250 EUR of eco-vouchers if you have been in the company for more than a year. + Your monthly meal vouchers arrived. You can get them at Christine's office.

]]>
comment +
mail.group - + Oh, I had forgotten. This month you also get 250 EUR of eco-vouchers if you have been in the company for more than a year.

]]>
comment +
mail.group - Thanks, but where is Christine's office, if I may ask? (I'm new here) + Thanks! Could you please remind me where is Christine's office, if I may ask? I'm new here!

]]>
comment +
mail.group - Building B3, second floor on the right :-) + Building B3, second floor on the right :-).

]]>
comment +
mail.group - Great news, I need to buy a new fridge, I think I can pay it with the eco-vouchers! + Many thanks. Actually that's good news, next year I'll have to buy a new fridge, I think I will pay it with the eco-vouchers!

]]>
comment +
- - + + Plan to install OpenERP mail.message - - <![CDATA[Email0 inquiry]]> - <div><font size="2">Hello,</font></div><div><font size="2"><br></font></div> - <div><font size="2">I am interested in your company's product and I plan to install OpenERP for my company and affordable price.</font></div><br/> - <div><font size="2">Can you please send me services catalogue?</font></div><br/> - Sophie - + Hello +I am interested in your company's product and I plan to install OpenERP for my company and affordable price. +Can you please send me services catalogue? +Sophie]]> email - + virginie@agrolait.fr - 2012-11-12 9:13:32 - - ir.attachment + bWlncmF0aW9uIHRlc3Q= catalogue 2012.pdf catalogue 2012.pdf - + Re: Plan to install OpenERP Dear Customer,<br/> @@ -117,11 +118,9 @@ This month you also get 250 EUR of eco-vouchers if you have been in the company comment - + - - - + diff --git a/addons/mail/data/mail_group_data.xml b/addons/mail/data/mail_group_data.xml index 11d0ee7d04b..8d002e1ec64 100644 --- a/addons/mail/data/mail_group_data.xml +++ b/addons/mail/data/mail_group_data.xml @@ -1,15 +1,12 @@ - + + - - Sales - Discussion about best sales practices and deals. - Whole Company - Discussion about best sales practices and deals. + Discussion about the company. @@ -18,11 +15,9 @@ notification Welcome to OpenERP! - Your homepage is a summary of messages you received and key information about documents you follow. - -The top menu bar contains all applications you installed. You can use this <i>Settings</i> menu to install more applications, activate others features or give access to new users. - -To setup your preferences (name, email signature, avatar), click on the top right corner. + Your homepage is a summary of messages you received and key information about documents you follow.

+

The top menu bar contains all applications you installed. You can use this <i>Settings</i> menu to install more applications, activate others features or give access to new users.

+

To setup your preferences (name, email signature, avatar), click on the top right corner.

]]>
diff --git a/addons/mail/data/mail_group_demo_data.xml b/addons/mail/data/mail_group_demo_data.xml new file mode 100644 index 00000000000..c81df963d50 --- /dev/null +++ b/addons/mail/data/mail_group_demo_data.xml @@ -0,0 +1,62 @@ + + + + + + + Best Sales Practices + Discussion about best sales practices and deals. + + + + Board meetings + Board meetings and agenda + + + + RD + Research and development discussion group + + + + Leasing + Leasing, cars and fuel cards + + + + Support + Support team + + + + mail.group + + MESSAGE UNREAD

]]>
+ comment + +
+ + mail.group + + MESSAGE UNREAD

]]>
+ comment + +
+ + mail.group + + MESSAGE UNREAD LIKED

]]>
+ comment + +
+ + mail.group + + MESSAGE UNREAD LIKES

]]>
+ comment + +
+
+
+ +