From 5b940bbd6f09b5bd91e78157adfbbe927a186339 Mon Sep 17 00:00:00 2001 From: Antoine Boonen Date: Tue, 5 Dec 2023 10:19:15 +0100 Subject: [PATCH] [FIX] accounting: Fix accounting tour message. Problem --------- In the accounting tour, during the invoice creating step, the message asking to confirm the invoice was irrelevant. Landed in 17.0 with this commit:cc6f85af2aac31816b51a0b39c9b119049f9954f Objective --------- Change the message into "Once your invoice is ready, confirm it." Solution --------- Change the relevant message in the tour JS file. task-3619638 closes odoo/odoo#144963 Signed-off-by: Florian Gilbert (flg) --- addons/account/i18n/account.pot | 4 +--- addons/account/static/src/js/tours/account.js | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/addons/account/i18n/account.pot b/addons/account/i18n/account.pot index b9aa4e93a2e..d89cd837976 100644 --- a/addons/account/i18n/account.pot +++ b/addons/account/i18n/account.pot @@ -2136,9 +2136,7 @@ msgstr "" #. odoo-javascript #: code:addons/account/static/src/js/tours/account.js:0 #, python-format -msgid "" -"After the data extraction, check and validate the bill. If no vendor has " -"been found, add one before validating." +msgid "Once your invoice is ready, confirm it." msgstr "" #. module: account diff --git a/addons/account/static/src/js/tours/account.js b/addons/account/static/src/js/tours/account.js index 56b883a8d97..3b30f0ee869 100644 --- a/addons/account/static/src/js/tours/account.js +++ b/addons/account/static/src/js/tours/account.js @@ -75,7 +75,7 @@ registry.category("web_tour.tours").add('account_tour', { { trigger: "button[name=action_post]", extra_trigger: "button.o_form_button_create", - content: _t("After the data extraction, check and validate the bill. If no vendor has been found, add one before validating."), + content: _t("Once your invoice is ready, confirm it."), }, { trigger: "button[name=action_invoice_sent]", extra_trigger: "[name=move_type] [raw-value=out_invoice]",