diff --git a/addons/hr_contract/__manifest__.py b/addons/hr_contract/__manifest__.py index e07f3975ff7..1e29b42238a 100644 --- a/addons/hr_contract/__manifest__.py +++ b/addons/hr_contract/__manifest__.py @@ -24,7 +24,7 @@ You can assign several contracts per employee. 'data/hr_contract_data.xml', 'views/hr_contract_views.xml', ], - 'demo': [], + 'demo': ['data/hr_contract_demo.xml'], 'installable': True, 'auto_install': False, } diff --git a/addons/hr_contract/data/hr_contract_demo.xml b/addons/hr_contract/data/hr_contract_demo.xml new file mode 100644 index 00000000000..6e8326a0203 --- /dev/null +++ b/addons/hr_contract/data/hr_contract_demo.xml @@ -0,0 +1,179 @@ + + + + + Mitchell Admin Contract + + + + + + + open + + + + Ronnie Hart Contract + + + + + + + open + + + + Marketing Executive Contract + + + + + + + open + + + + Randall Lewis Contract + + + + + + + + open + + + + Demo Contract + + + + + + + open + + + + Walter Horton Contract + + + + + + + open + + + + Sharlene Rhodes Contract + + + + + + + + draft + + + + Toni Jimenez + + + + + + + + draft + + + + Jennie Fletcher Contract + + + + + + + cancel + + + + Paul Williams Contract + + + + + + + cancel + + + + Keith Byrd Contract + + + + + + + + pending + + + + Audrey Peterson Contract + + + + + + + + close + + + + Tina Williamson Contract + + + + + + + + close + + + \ No newline at end of file diff --git a/addons/hr_expense/data/hr_expense_demo.xml b/addons/hr_expense/data/hr_expense_demo.xml index 3411073ab0f..975013c13db 100644 --- a/addons/hr_expense/data/hr_expense_demo.xml +++ b/addons/hr_expense/data/hr_expense_demo.xml @@ -49,6 +49,44 @@ + + + + + + + + + + + + Screen + + + + + + + + + + + Laptop + + + + + + + + + + + Commercial Travel at New York + + approve + + Travel by Air @@ -57,6 +95,8 @@ + + @@ -67,6 +107,140 @@ + + + + + + Lunch with Customer + + + + + + + + + + + Lunch + + + + + + + + + + + + Customer meeting + + submit + + + + Travel by Car + + + + + + + + + + + + Lunch with Customer + + + + + + + + + + + + Team Building + + submit + + + + Pizzas + + + + + + + + + + + Drinks + + + + + + + + + + + Paintball + + + + + + + + + + + + Office furniture + + submit + + + + Chairs + + + + + + + + + + + Lamp + + + + + + + + + + + + Car tyres + + + + + + diff --git a/addons/hr_payroll/data/hr_payroll_demo.xml b/addons/hr_payroll/data/hr_payroll_demo.xml index 43c4bbaf6a9..b8914e79d85 100644 --- a/addons/hr_payroll/data/hr_payroll_demo.xml +++ b/addons/hr_payroll/data/hr_payroll_demo.xml @@ -205,3 +205,4 @@ + diff --git a/addons/hr_recruitment/data/hr_recruitment_demo.xml b/addons/hr_recruitment/data/hr_recruitment_demo.xml index 189ae4e5d75..82c6165549e 100644 --- a/addons/hr_recruitment/data/hr_recruitment_demo.xml +++ b/addons/hr_recruitment/data/hr_recruitment_demo.xml @@ -6,18 +6,30 @@ recruit 4 + 56 + + + open + 1 + + + open + 1 recruit 1 + 17 1 recruit + 5 recruit 3 + 2 recruit @@ -36,6 +48,66 @@ 9963214587 + + Sales + + + + + + 1 + Meldona Thang + 998655451 + + + + Developer PHP + + + + + + 3 + Johan Duck + 8955545 + + + + Developer Fullstack + + + + + + 0 + Kelly Wallant + 879895515 + + + + Developer Python + + + + + + 0 + Cécile Donth + 98765411 + + + + Developer C/C++ + + + + + + 0 + Ohen Rizome + 654687987654 + + Trainee - MCA @@ -61,6 +133,27 @@ 999666735 + + Marketing + + + + + + Yin Lee + + + + Marketing 2 Year Experience + + + + + + Hubert Blank + 3 + + Marketing Job @@ -93,6 +186,17 @@ 33968745 + + Finance + + + + + + 1 + Joren Jacob + + Trainee - MCA @@ -122,7 +226,7 @@ - David Armstrong + David Billy 9988774455 11000.0 @@ -161,10 +265,12 @@ Regarding reference hr.applicant - Hello!
+ +

Hello!
I will surely refer to this application as it is by your reference and
will try to conduct an interview within a very short time
- Thanks,

]]>
+ Thanks,

+
comment @@ -176,9 +282,24 @@ Refuse Application hr.applicant - Hello,

-

I have checked this application but it does not match with our requirements. We don't need to proceed further and we should refuse this application.

-

Kind regards,

]]>
+ +

Hello,

+

I have checked this application but it does not match with our requirements. We don't need to proceed further and we should refuse this application.

+

Kind regards,

+
+ comment + + +
+ + Refuse Application + hr.applicant + + +

Hello,

+

This applicant has excellent skills and would greatly fit in the RD Team!

+

Kind regards,

+
comment @@ -186,15 +307,71 @@ hr.applicant - Hello,

-

We should move further for this application as early as possible.

-

Kind regards,

]]>
+ +

Hello,

+

We should move further for this application as early as possible.

+

Kind regards,

+
comment
- + + hr.applicant + + +

Hello,

+

The first interview was good. Skilled and open minded applicant.

+

I think we should consider hiring him.

+

Kind regards,

+
+ comment + + +
+ + hr.applicant + + +

Hello,

+

The first interview was good. I will propose a second interview

+

Kind regards,

+
+ comment + + +
+ + hr.applicant + + +

Hello,

+

After the second interview, I think we should consider hiring him.

+

Kind regards,

+
+ comment + + +
+ + + + + Send mail regarding our interview + + + + + + + + + Send mail for first interview + + + + @@ -203,7 +380,7 @@ - + @@ -212,7 +389,7 @@ - + @@ -221,6 +398,24 @@ + + + + + + Call to schedule a second interview + + + + + + + + + Call to propose a contract + + + diff --git a/addons/l10n_be_hr_payroll_account/__manifest__.py b/addons/l10n_be_hr_payroll_account/__manifest__.py index a079b9e3ef0..d260de535e1 100644 --- a/addons/l10n_be_hr_payroll_account/__manifest__.py +++ b/addons/l10n_be_hr_payroll_account/__manifest__.py @@ -14,5 +14,6 @@ Accounting Data for Belgian Payroll Rules. 'data':[ 'data/l10n_be_hr_payroll_account_data.xml', ], + 'demo':['data/l10n_be_hr_payroll_account_demo.xml'], 'post_init_hook': '_set_accounts', } diff --git a/addons/l10n_be_hr_payroll_account/data/l10n_be_hr_payroll_account_demo.xml b/addons/l10n_be_hr_payroll_account/data/l10n_be_hr_payroll_account_demo.xml new file mode 100644 index 00000000000..bbdf147e957 --- /dev/null +++ b/addons/l10n_be_hr_payroll_account/data/l10n_be_hr_payroll_account_demo.xml @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SLIP601 + + + + Normal working days + WORK100 + 20 + 160 + + + + + Sick keave + LEAVE200 + 2 + 16 + + + + + + + + + + + + + SLIP602 + + + + Normal working days + WORK100 + 18 + 144 + + + + + Extra work + WORK200 + 1.5 + 12 + + + + + Legal leave + LEAVE100 + 4 + 32 + + + + + + + + + + + + + + + + + + + + + + SLIP501 + + + + Normal working days + WORK100 + 22 + 175 + + + + + + + + + + + + + SLIP502 + + + + Normal working days + WORK100 + 20 + 16 + + + + + Extra work + WORK200 + 0.5 + 4 + + + + + Sick Leave + LEAVE200 + 1 + 8 + + + + + diff --git a/addons/lunch/data/lunch_demo.xml b/addons/lunch/data/lunch_demo.xml index 469c01afab3..bd36db1f0af 100644 --- a/addons/lunch/data/lunch_demo.xml +++ b/addons/lunch/data/lunch_demo.xml @@ -15,6 +15,18 @@ Pasta + + Burger + + + Sushi + + + Temaki + + + Chirashi + Coin gourmand @@ -28,13 +40,109 @@ Pizza Inn New Delhi TN - + #8, 1 st Floor,iscore complex Gandhi Gramam,Gandhi Nagar 607308 pizza.inn@yourcompany.example.com + + The Corner + Atlanta + + Genessee Ave SW + 607409 + info@corner.com + + + + Sushi Shop + Paris + + Boulevard Saint-Germain + 486624 + order@sushi.com + + + + Bacon + + 7.5 + + Beef, Bacon, Salad, Cheddar, Fried Onion, BBQ Sauce + + + + Cheese Burger + + 7.0 + + Beef, Cheddar, Salad, Fried Onions, BBQ Sauce + + + + Chicken Curry + + 3.0 + + + + + Spicy Tuna + + 3.0 + + + + + Mozzarella + + 3.9 + + Mozzarella, Pesto, Tomatoes + + + + Club + + 3.4 + + Ham, Cheese, Vegetables + + + + Lunch Maki 18pc + + 12.0 + + 6 Maki Salmon - 6 Maki Tuna - 6 Maki Shrimp/Avocado + + + + Lunch Salmon 20pc + + 13.80 + + 4 Sushi Salmon - 6 Maki Salmon - 4 Sashimi Salmon + + + + Lunch Temaki mix 3pc + + 14.0 + + 1 Avocado/Cooked Tuna - 1 Salmon/Eggs - 1 Salmon/Avocado - 1 Tuna/Mango + + + + Salmon and Avocado + + 9.25 + + Shrimp Tempura, Yam Tempura, Chinese Cabbage, Pickled Onions, Sesame Sauce + + Cheese And Ham @@ -83,6 +191,22 @@ Tomatoes, Mozzarella + + Pizza Funghi + + 7.00 + + Tomatoes, Mushrooms, Mozzarella + + + + Pizza Vegetarian + + 7.00 + + Tomatoes, Mozzarella, Mushrooms, Peppers, Olives + + Pizza Italiana @@ -107,6 +231,14 @@ Tomatoes, Basil + + 4 Formaggi + + 5.50 + + Tomato sauce, Olive oil, Fresh Tomatoes, Onions, Vegetables, Parmesan + + @@ -128,6 +260,13 @@ confirmed + + + + + confirmed + + @@ -172,6 +311,16 @@ + + + + 5.50 + + confirmed + + + + @@ -198,6 +347,23 @@ payment + + + + Cash given to HR manager + 40 + payment + + + + + + Pasta 4 Formaggi + -5.50 + + order + + week diff --git a/addons/point_of_sale/data/point_of_sale_demo.xml b/addons/point_of_sale/data/point_of_sale_demo.xml index 2525a561481..eb792a82102 100644 --- a/addons/point_of_sale/data/point_of_sale_demo.xml +++ b/addons/point_of_sale/data/point_of_sale_demo.xml @@ -22,6 +22,7 @@ + Miscellaneous @@ -33,6 +34,11 @@ Chairs + + + True + + diff --git a/addons/point_of_sale/static/src/js/tests.js b/addons/point_of_sale/static/src/js/tests.js index 59738e08179..f8626cab1bd 100644 --- a/addons/point_of_sale/static/src/js/tests.js +++ b/addons/point_of_sale/static/src/js/tests.js @@ -44,7 +44,11 @@ odoo.define('point_of_sale.tour.pricelist', function (require) { }; } - var steps = [{ + var steps = [{ // Leave category displayed by default + content: "click category switch", + trigger: ".js-category-switch", + run: 'click', + }, { content: 'waiting for loading to finish', trigger: '.o_main_content:has(.loader:hidden)', run: function () { @@ -209,6 +213,7 @@ shelf have not (their price was manually overriden)", }, { content: "confirm closing the frontend", trigger: ".header-button", + run: function() {}, //it's a check, }]); Tour.register('pos_pricelist', { test: true, url: '/pos/web' }, steps); @@ -298,6 +303,10 @@ odoo.define('point_of_sale.tour.acceptance', function (require) { }, { content: "next order", trigger: '.button.next:visible', + }, { // Leave category displayed by default + content: "click category switch", + trigger: ".js-category-switch", + run: 'click', }]; } @@ -305,6 +314,10 @@ odoo.define('point_of_sale.tour.acceptance', function (require) { content: 'waiting for loading to finish', trigger: '.o_main_content:has(.loader:hidden)', run: function () {}, // it's a check + }, { // Leave category displayed by default + content: "click category switch", + trigger: ".js-category-switch", + run: 'click', }]; steps = steps.concat(add_product_to_order('Desk Organizer')); diff --git a/addons/pos_restaurant/data/pos_restaurant_demo.xml b/addons/pos_restaurant/data/pos_restaurant_demo.xml index 55a20022b25..82e236da7b4 100644 --- a/addons/pos_restaurant/data/pos_restaurant_demo.xml +++ b/addons/pos_restaurant/data/pos_restaurant_demo.xml @@ -11,21 +11,148 @@ - - - PoS - - Drinks + + + Food + + + + Food + + + + + True + 7.0 + Margherita + + + + + + True + 7.0 + Funghi + + + + + + True + 7.0 + Vegetarian + + + + + + True + 4.5 + Pasta Bolognese + + + + + + True + 5.5 + Pasta 4 formaggi + + + + + + True + 7.5 + Bacon Burger + + + + + + True + 7.0 + Cheese Burger + + + + + + True + 3.0 + Chicken Curry Sandwich + + + + + + True + 3.0 + Spicy Tuna Sandwich + + + + + + True + 3.9 + Mozzarella Sandwich + + + + + + True + 3.4 + Club Sandwich + + + + + + True + 12.0 + Lunch Maki 18pc + + + + + + True + 13.80 + Lunch Salmon 20pc + + + + + + True + 14.0 + Lunch Temaki mix 3pc + + + + + + True + 9.25 + Salmon and Avocado + + + + + + True 2.20 Coca-Cola - + @@ -34,7 +161,7 @@ 2.20 Water - + @@ -43,7 +170,7 @@ 2.20 Minute Maid - + @@ -58,6 +185,8 @@ True True + + True diff --git a/addons/pos_restaurant/static/img/th-burger.jpg b/addons/pos_restaurant/static/img/th-burger.jpg new file mode 100644 index 00000000000..b8919a896ff Binary files /dev/null and b/addons/pos_restaurant/static/img/th-burger.jpg differ diff --git a/addons/pos_restaurant/static/img/th-cheeseburger.jpg b/addons/pos_restaurant/static/img/th-cheeseburger.jpg new file mode 100644 index 00000000000..11852a6c972 Binary files /dev/null and b/addons/pos_restaurant/static/img/th-cheeseburger.jpg differ diff --git a/addons/pos_restaurant/static/img/th-club.jpg b/addons/pos_restaurant/static/img/th-club.jpg new file mode 100644 index 00000000000..c12676eac43 Binary files /dev/null and b/addons/pos_restaurant/static/img/th-club.jpg differ diff --git a/addons/pos_restaurant/static/img/th-maki.jpg b/addons/pos_restaurant/static/img/th-maki.jpg new file mode 100644 index 00000000000..b90c00fc873 Binary files /dev/null and b/addons/pos_restaurant/static/img/th-maki.jpg differ diff --git a/addons/pos_restaurant/static/img/th-mozza.jpg b/addons/pos_restaurant/static/img/th-mozza.jpg new file mode 100644 index 00000000000..81d0b937baf Binary files /dev/null and b/addons/pos_restaurant/static/img/th-mozza.jpg differ diff --git a/addons/pos_restaurant/static/img/th-pasta-4f.jpg b/addons/pos_restaurant/static/img/th-pasta-4f.jpg new file mode 100644 index 00000000000..137c6eb14b1 Binary files /dev/null and b/addons/pos_restaurant/static/img/th-pasta-4f.jpg differ diff --git a/addons/pos_restaurant/static/img/th-pasta.jpg b/addons/pos_restaurant/static/img/th-pasta.jpg new file mode 100644 index 00000000000..ff16850a179 Binary files /dev/null and b/addons/pos_restaurant/static/img/th-pasta.jpg differ diff --git a/addons/pos_restaurant/static/img/th-pizza.png b/addons/pos_restaurant/static/img/th-pizza.png new file mode 100644 index 00000000000..91b5021ed73 Binary files /dev/null and b/addons/pos_restaurant/static/img/th-pizza.png differ diff --git a/addons/pos_restaurant/static/img/th-salmon-avocado.jpg b/addons/pos_restaurant/static/img/th-salmon-avocado.jpg new file mode 100644 index 00000000000..442ee8ddc11 Binary files /dev/null and b/addons/pos_restaurant/static/img/th-salmon-avocado.jpg differ diff --git a/addons/pos_restaurant/static/img/th-salmon.jpg b/addons/pos_restaurant/static/img/th-salmon.jpg new file mode 100644 index 00000000000..b84c6989162 Binary files /dev/null and b/addons/pos_restaurant/static/img/th-salmon.jpg differ diff --git a/addons/pos_restaurant/static/img/th-sandwich.jpg b/addons/pos_restaurant/static/img/th-sandwich.jpg new file mode 100644 index 00000000000..4d17f726bba Binary files /dev/null and b/addons/pos_restaurant/static/img/th-sandwich.jpg differ diff --git a/addons/pos_restaurant/static/img/th-temaki.jpg b/addons/pos_restaurant/static/img/th-temaki.jpg new file mode 100644 index 00000000000..01a9865643a Binary files /dev/null and b/addons/pos_restaurant/static/img/th-temaki.jpg differ diff --git a/addons/pos_restaurant/static/img/th-tuna.jpg b/addons/pos_restaurant/static/img/th-tuna.jpg new file mode 100644 index 00000000000..acbe2d96b6a Binary files /dev/null and b/addons/pos_restaurant/static/img/th-tuna.jpg differ diff --git a/addons/stock/data/stock_demo.xml b/addons/stock/data/stock_demo.xml index f274a335fa7..e01fbbfa4af 100644 --- a/addons/stock/data/stock_demo.xml +++ b/addons/stock/data/stock_demo.xml @@ -123,7 +123,11 @@ - My Company, Chicago + My Company (Chicago) +
+ + + My Company (San Fransisco) diff --git a/addons/test_mail/tests/test_mail_message.py b/addons/test_mail/tests/test_mail_message.py index ac38d2d00e1..3b7cf25da46 100644 --- a/addons/test_mail/tests/test_mail_message.py +++ b/addons/test_mail/tests/test_mail_message.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. import base64 +from email.utils import formataddr from odoo.addons.test_mail.tests import common from odoo.addons.test_mail.tests.common import mail_new_test_user @@ -61,8 +62,10 @@ class TestMessageValues(common.BaseFunctionalTest, common.MockEmails): msg = self.Message.create({}) self.assertIn('-private', msg.message_id, 'mail_message: message_id for a void message should be a "private" one') - self.assertEqual(msg.reply_to, '%s <%s@%s>' % (self.env.user.company_id.name, alias_catchall, alias_domain)) - self.assertEqual(msg.email_from, '%s <%s>' % (self.user_employee.name, self.user_employee.email)) + reply_to_name = self.env.user.company_id.name + reply_to_email = '%s@%s' % (alias_catchall, alias_domain) + self.assertEqual(msg.reply_to, formataddr((reply_to_name, reply_to_email))) + self.assertEqual(msg.email_from, formataddr((self.user_employee.name, self.user_employee.email))) def test_mail_message_values_document_no_alias(self): self.env['ir.config_parameter'].search([('key', '=', 'mail.catchall.domain')]).unlink() @@ -86,7 +89,9 @@ class TestMessageValues(common.BaseFunctionalTest, common.MockEmails): 'res_id': self.alias_record.id }) self.assertIn('-openerp-%d-mail.test' % self.alias_record.id, msg.message_id) - self.assertEqual(msg.reply_to, '%s %s <%s@%s>' % (self.env.user.company_id.name, self.alias_record.name, self.alias_record.alias_name, alias_domain)) + reply_to_name = '%s %s' % (self.env.user.company_id.name, self.alias_record.name) + reply_to_email = '%s@%s' % (self.alias_record.alias_name, alias_domain) + self.assertEqual(msg.reply_to, formataddr((reply_to_name, reply_to_email))) self.assertEqual(msg.email_from, '%s <%s>' % (self.user_employee.name, self.user_employee.email)) def test_mail_message_values_document_alias_catchall(self): @@ -100,7 +105,9 @@ class TestMessageValues(common.BaseFunctionalTest, common.MockEmails): 'res_id': self.alias_record.id }) self.assertIn('-openerp-%d-mail.test' % self.alias_record.id, msg.message_id) - self.assertEqual(msg.reply_to, '%s %s <%s@%s>' % (self.env.user.company_id.name, self.alias_record.name, self.alias_record.alias_name, alias_domain)) + reply_to_name = '%s %s' % (self.env.user.company_id.name, self.alias_record.name) + reply_to_email = '%s@%s' % (self.alias_record.alias_name, alias_domain) + self.assertEqual(msg.reply_to, formataddr((reply_to_name, reply_to_email))) self.assertEqual(msg.email_from, '%s <%s>' % (self.user_employee.name, self.user_employee.email)) def test_mail_message_values_no_auto_thread(self): diff --git a/odoo/addons/base/data/res_users_demo.xml b/odoo/addons/base/data/res_users_demo.xml index 608438cea7c..e9580c22299 100644 --- a/odoo/addons/base/data/res_users_demo.xml +++ b/odoo/addons/base/data/res_users_demo.xml @@ -20,12 +20,11 @@ YourCompany YourCompany - 1725 Slough Ave. - Scranton - 18540 + 250 Executive Park Blvd, Suite 3400 + San Francisco + CA 94134 - - +1 555 123 8069 + +1 (650) 691-3277 info@yourcompany.example.com www.example.com