diff --git a/addons/account/data/digest_data.xml b/addons/account/data/digest_data.xml index 561401adf63..063f7b4a3d3 100644 --- a/addons/account/data/digest_data.xml +++ b/addons/account/data/digest_data.xml @@ -15,7 +15,7 @@

Tip: No need to print, put in an envelop and post your invoices

Use the “Send by Post” option to post invoices automatically. For the cost of a local stamp, we do all the manual work: your invoice will be printed in the right country, put in an envelop and sent by snail mail. Use this feature from the list view to post hundreds of invoices in bulk.

- +
diff --git a/addons/crm/data/digest_data.xml b/addons/crm/data/digest_data.xml index e0f3e3b8208..9da9d78e512 100644 --- a/addons/crm/data/digest_data.xml +++ b/addons/crm/data/digest_data.xml @@ -34,7 +34,7 @@

Tip: Did you know Odoo has built-in lead mining?

For a sales team, there is nothing worse than being dry on leads. Fortunately, in just a few clicks, you can generate leads specifically targeted to your needs: company size, industry, etc. To help you test the feature, we offer you 200 credits for free.

- +
@@ -46,7 +46,7 @@

Tip: Opportunity win rate is predicted with AI

Odoo's artificial intelligence engine predicts the success rate of each opportunity based on your history. You can always update the success rate manually, but if you let Odoo do the job the score is updated while the opportunity moves forward in your sales cycle.

- +
@@ -58,7 +58,7 @@

Tip: Manage your pipeline

A great tip to boost sales efficiency is to always define a next step on each opportunity. To manage ongoing activities, click on any status of the progress bar to filter opportunities based on their next activities' status. Click on the grey area of the progress bar to see all opportunities that have no next activity.

- +
@@ -70,7 +70,7 @@

Tip: Do not waste time recording customers' data

Did you know you can search a company by name or VAT number to instantly fill in all its data? Odoo autocompletes everything for you: logo, address, company size, business information, social media accounts, etc.

- +
@@ -82,7 +82,7 @@

Tip: Turn a selection of opportunities into a map

Did you know you can turn a list of opportunities into a map view, using the top-right map icon? A lot of screens in Odoo can be turned into a map: tasks, contacts, delivery orders, etc.

- +
diff --git a/addons/digest/data/digest_data.xml b/addons/digest/data/digest_data.xml index b4cd5515874..eec141479cc 100644 --- a/addons/digest/data/digest_data.xml +++ b/addons/digest/data/digest_data.xml @@ -10,24 +10,32 @@ - + @@ -333,117 +269,227 @@ - @@ -451,13 +497,19 @@ diff --git a/addons/digest/data/digest_tips_data.xml b/addons/digest/data/digest_tips_data.xml index c8b2b57a277..20144e36821 100644 --- a/addons/digest/data/digest_tips_data.xml +++ b/addons/digest/data/digest_tips_data.xml @@ -9,7 +9,8 @@ True True - + + Tip: Speed up your workflow with shortcuts 800 @@ -18,7 +19,7 @@

Tip: Speed up your workflow with shortcuts

Press ALT in any screen to highlight shortcuts for every button in the screen. It is useful to process multiple documents in batch.

- +
@@ -30,7 +31,7 @@

Tip: Click on an avatar to chat with a user

Have a question about a document? Click on the responsible user's picture to start a conversation. If his avatar has a green dot, he is online.

- +
@@ -42,7 +43,7 @@

Tip: A calculator in Odoo

When editing a number, you can use formulae by typing the `=` character. This is useful when computing a margin or a discount on a quotation, sale order or invoice.

- +
@@ -54,7 +55,7 @@

Tip: How to ping users in internal notes?

Type "@" to notify someone in a message, or "#" to link to a channel. Try to notify @OdooBot to test the feature.

- +
@@ -67,7 +68,7 @@

Tip: Knowledge is power

When following documents, use the pencil icon to fine-tune the information you want to receive. Follow a project / sales team to keep track of this project's tasks / this team's opportunities.

- + diff --git a/addons/digest/tests/test_digest.py b/addons/digest/tests/test_digest.py index c1a4c3b819c..920e03e16f6 100644 --- a/addons/digest/tests/test_digest.py +++ b/addons/digest/tests/test_digest.py @@ -94,7 +94,7 @@ class TestDigest(mail_test.MailCommon): self.assertEqual(mail.email_from, self.company_admin.email_formatted) self.assertEqual(mail.state, 'outgoing', 'Mail should use the queue') - kpi_message_values = html.fromstring(mail.body_html).xpath('//div[@data-field="kpi_mail_message_total"]//*[hasclass("kpi_value")]/text()') + kpi_message_values = html.fromstring(mail.body_html).xpath('//table[@data-field="kpi_mail_message_total"]//*[hasclass("kpi_value")]/text()') self.assertEqual( [t.strip() for t in kpi_message_values], ['3', '8', '15'] diff --git a/addons/hr_expense/data/digest_data.xml b/addons/hr_expense/data/digest_data.xml index 28d097cf4fb..2a892ae94d5 100644 --- a/addons/hr_expense/data/digest_data.xml +++ b/addons/hr_expense/data/digest_data.xml @@ -9,7 +9,7 @@

Tip: Snap pictures of your receipts with the remote app

Do not keep your expense tickets in your pockets any longer. Just snap a picture of your receipt and let Odoo digitalizes it for you. The OCR and Artificial Intelligence will fill the data automatically.

- +
diff --git a/addons/hr_timesheet/data/digest_data.xml b/addons/hr_timesheet/data/digest_data.xml index 03ebb3fa06b..c511d3f0744 100644 --- a/addons/hr_timesheet/data/digest_data.xml +++ b/addons/hr_timesheet/data/digest_data.xml @@ -9,7 +9,7 @@
Tip: Record your Timesheets faster

Record your timesheets in an instant by pressing Shift + the corresponding hotkey to add 15min to your projects.

- +
diff --git a/addons/im_livechat/data/digest_data.xml b/addons/im_livechat/data/digest_data.xml index 002176644a4..ba1d453b455 100644 --- a/addons/im_livechat/data/digest_data.xml +++ b/addons/im_livechat/data/digest_data.xml @@ -17,7 +17,7 @@

Tip: Use canned responses to chat faster

Use canned responses to define templates of messages in the livechat app. To load a canned response, start your sentence with ':' and select the template.

- +
diff --git a/addons/mass_mailing/data/mailing_data_templates.xml b/addons/mass_mailing/data/mailing_data_templates.xml index d79fc88d053..99253914159 100644 --- a/addons/mass_mailing/data/mailing_data_templates.xml +++ b/addons/mass_mailing/data/mailing_data_templates.xml @@ -127,41 +127,39 @@
diff --git a/addons/mass_mailing/models/mailing.py b/addons/mass_mailing/models/mailing.py index 623f1b5d4a2..91b43a264a4 100644 --- a/addons/mass_mailing/models/mailing.py +++ b/addons/mass_mailing/models/mailing.py @@ -1169,6 +1169,7 @@ class MassMailing(models.Model): link_trackers_body = self.env['ir.qweb']._render( 'mass_mailing.mass_mailing_kpi_link_trackers', { + 'company': self.env.user.company_id, 'object': mailing, 'link_trackers': link_trackers, 'mailing_type': mailing_type, diff --git a/addons/mrp/data/digest_data.xml b/addons/mrp/data/digest_data.xml index 3d21def1601..726bb948724 100644 --- a/addons/mrp/data/digest_data.xml +++ b/addons/mrp/data/digest_data.xml @@ -9,7 +9,7 @@

Tip: Use tablets in the shop to control manufacturing

With the Odoo work center control panel, your worker can start work orders in the shop and follow instructions of the worksheet. Quality tests are perfectly integrated into the process. Workers can trigger feedback loops, maintenance alerts, scrap products, etc.

- +
diff --git a/addons/purchase/data/digest_data.xml b/addons/purchase/data/digest_data.xml index 3e4d26c1ab5..41ae21a43f1 100644 --- a/addons/purchase/data/digest_data.xml +++ b/addons/purchase/data/digest_data.xml @@ -9,7 +9,7 @@

Tip: How to keep late receipts under control?

When creating a purchase order, have a look at the vendor's On Time Delivery rate: the percentage of products shipped on time. If it is too low, activate the automated reminders. A few days before the due shipment, Odoo will send the vendor an email to ask confirmation of shipment dates and keep you informed in case of any delays. To get the vendor's performance statistics, click on the OTD rate.

- +
diff --git a/addons/sale_management/data/digest_data.xml b/addons/sale_management/data/digest_data.xml index 9ab5f11fd02..3140afcff6c 100644 --- a/addons/sale_management/data/digest_data.xml +++ b/addons/sale_management/data/digest_data.xml @@ -4,7 +4,8 @@ True - + + Tip: Odoo supports configurable products 2200 @@ -13,7 +14,7 @@

Tip: Odoo supports configurable products

Struggling with a complex product catalog? Try out the Product Configurator to help sales configure a product with different options: colors, size, capacity, etc. Make sale orders encoding easier and error-proof.

- +
@@ -25,7 +26,7 @@

Tip: Sell or buy products in bulk with matrixes

Selling the same product in different sizes or colors? Try the product grid and populate your orders with multiple quantities of each variant. This feature also exists in the Purchase application.

- +
diff --git a/addons/stock/data/digest_data.xml b/addons/stock/data/digest_data.xml index 74b61a7e87b..1acced8b75d 100644 --- a/addons/stock/data/digest_data.xml +++ b/addons/stock/data/digest_data.xml @@ -6,19 +6,20 @@ 1000 -

Tip: Speed up inventory operations with barcodes

- - +
+

Tip: Speed up inventory operations with barcodes

+
- - - -
- + + -

Enjoy a quick-paced experience with the Odoo barcode app. It is blazing fast and works even without a stable internet connection. It supports all flows: inventory adjustments, batch picking, moving lots or pallets, low inventory checks, etc. Go to the "Apps" menu to activate the barcode interface.

+
+

Enjoy a quick-paced experience with the Odoo barcode app. It is blazing fast and works even without a stable internet connection. It supports all flows: inventory adjustments, batch picking, moving lots or pallets, low inventory checks, etc. Go to the "Apps" menu to activate the barcode interface.

+ +
+
diff --git a/addons/test_mass_mailing/tests/test_mailing_statistics.py b/addons/test_mass_mailing/tests/test_mailing_statistics.py index c88695455b5..527eea1b32d 100644 --- a/addons/test_mass_mailing/tests/test_mailing_statistics.py +++ b/addons/test_mass_mailing/tests/test_mailing_statistics.py @@ -66,13 +66,13 @@ class TestMailingStatistics(TestMassMailCommon): self.assertEqual(mail.state, 'outgoing') # test body content: KPIs body_html = html.fromstring(mail.body_html) - kpi_values = body_html.xpath('//div[@data-field="mail"]//*[hasclass("kpi_value")]/text()') + kpi_values = body_html.xpath('//table[@data-field="mail"]//*[hasclass("kpi_value")]/text()') self.assertEqual( [t.strip().strip('%') for t in kpi_values], ['100', str(mailing.opened_ratio), str(mailing.replied_ratio)] ) # test body content: clicks (a bit hackish but hey we are in stable) - kpi_click_values = body_html.xpath('//div[hasclass("global_layout")]/table//tr[contains(@style,"color: #888888")]/td[contains(@style,"width: 30%")]/text()') + kpi_click_values = body_html.xpath('//table//tr[contains(@style,"color: #888888")]/td[contains(@style,"width: 30%")]/text()') first_link_value = int(kpi_click_values[0].strip().split()[1].strip('()')) self.assertEqual(first_link_value, mailing.clicked) diff --git a/addons/test_mass_mailing/tests/test_mailing_statistics_sms.py b/addons/test_mass_mailing/tests/test_mailing_statistics_sms.py index d20e3cc31d7..1291273e2f1 100644 --- a/addons/test_mass_mailing/tests/test_mailing_statistics_sms.py +++ b/addons/test_mass_mailing/tests/test_mailing_statistics_sms.py @@ -60,12 +60,12 @@ class TestMailingStatistics(TestMassSMSCommon): self.assertEqual(mail.state, 'outgoing') # test body content: KPIs body_html = html.fromstring(mail.body_html) - kpi_values = body_html.xpath('//div[@data-field="sms"]//*[hasclass("kpi_value")]/text()') + kpi_values = body_html.xpath('//table[@data-field="sms"]//*[hasclass("kpi_value")]/text()') self.assertEqual( [t.strip().strip('%') for t in kpi_values], ['100', str(mailing.opened_ratio), str(mailing.replied_ratio)] ) # test body content: clicks (a bit hackish but hey we are in stable) - kpi_click_values = body_html.xpath('//div[hasclass("global_layout")]/table//tr[contains(@style,"color: #888888")]/td[contains(@style,"width: 30%")]/text()') + kpi_click_values = body_html.xpath('//table//tr[contains(@style,"color: #888888")]/td[contains(@style,"width: 30%")]/text()') first_link_value = int(kpi_click_values[0].strip().split()[1].strip('()')) self.assertEqual(first_link_value, mailing.clicked) diff --git a/addons/website/data/digest_data.xml b/addons/website/data/digest_data.xml index 942ce719714..0b0afea5d96 100644 --- a/addons/website/data/digest_data.xml +++ b/addons/website/data/digest_data.xml @@ -9,7 +9,7 @@

Tip: Engage with visitors to convert them into leads

Monitor your visitors while they are browsing your website with the Odoo Social app. Engage with them in just a click using a live chat request or a push notification. If they have completed one of your forms, you can send them an SMS, or call them right away while they are browsing your website.

- +
@@ -21,7 +21,7 @@

Tip: Use royalty-free photos

Search in the media dialogue when you need photos to illustrate your website. Odoo's integration with Unsplash, featuring millions of royalty free and high quality photos, makes it possible for you to get the perfect picture, in just a few clicks.

- +
@@ -33,7 +33,7 @@

Tip: Search Engine Optimization (SEO)

To get more visitors, you should target keywords that are often searched in Google. With the built-in SEO tool, once you define a few keywords, Odoo will recommend you the best keywords to target. Then adapt your title and description accordingly to boost your traffic.

- +
@@ -45,7 +45,7 @@

Tip: Use illustrations to spice up your website

Not only can you search for royalty-free illustrations, their colors are also converted so that they always fit your Theme.

- +
@@ -57,7 +57,7 @@

Tip: Add shapes to energize your Website

More than 90 shapes exist and their colors are picked to match your Theme.

- +