From 4865753c46fda400401b8077304b9b2066bace12 Mon Sep 17 00:00:00 2001 From: wan Date: Tue, 13 Oct 2020 08:06:45 +0000 Subject: [PATCH] [FIX] account: remove tip on onboarding tour MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task 2352493 When the user is asked to fill in the label on the invoice, the tooltip tells him that the label can be auto-filled by configuring its products. This leads the user to configure products. But then, as he doesn't fill in the label, the tour is "broken". closes odoo/odoo#69871 X-original-commit: 78b5536a4c6fa7a20d8fd182fcd85726c2a8555f Signed-off-by: Quentin De Paoli (qdp) Signed-off-by: William André (wan) --- addons/account/i18n/account.pot | 3 +-- addons/account/static/src/js/tours/account.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/addons/account/i18n/account.pot b/addons/account/i18n/account.pot index 4ac8cfa3d01..76e0696e20d 100644 --- a/addons/account/i18n/account.pot +++ b/addons/account/i18n/account.pot @@ -5113,8 +5113,7 @@ msgstr "" #: code:addons/account/static/src/js/tours/account.js:0 #, python-format msgid "" -"Fill in the details of the line.
Tip: all the details can be set " -"automatically if you configure your products." +"Fill in the details of the line." msgstr "" #. module: account diff --git a/addons/account/static/src/js/tours/account.js b/addons/account/static/src/js/tours/account.js index 04ade6ceacb..39b60133d1c 100644 --- a/addons/account/static/src/js/tours/account.js +++ b/addons/account/static/src/js/tours/account.js @@ -53,7 +53,7 @@ tour.register('account_tour', { }, { trigger: "div[name=invoice_line_ids] textarea[name=name]", extra_trigger: "[name=move_type][raw-value=out_invoice]", - content: _t("Fill in the details of the line.
Tip: all the details can be set automatically if you configure your products."), + content: _t("Fill in the details of the line."), position: "bottom", }, { trigger: "div[name=invoice_line_ids] input[name=price_unit]",