From 206e0b71ac74147a989db60cddae801534b97bdc Mon Sep 17 00:00:00 2001 From: Jeremy Kersten Date: Fri, 7 Dec 2018 12:40:11 +0000 Subject: [PATCH] [IMP] website_sale: add warning when editing billing and shipping address In case you edit your shipping address (that is the same for billing) you don't always undersantad that you are editing at the same time the billing address. opw-1914185 closes odoo/odoo#29484 --- addons/website_sale/i18n/website_sale.pot | 16 ++++++++++++++++ addons/website_sale/views/templates.xml | 9 +++++++++ 2 files changed, 25 insertions(+) diff --git a/addons/website_sale/i18n/website_sale.pot b/addons/website_sale/i18n/website_sale.pot index 2b7432d493d..0ce80e55f33 100644 --- a/addons/website_sale/i18n/website_sale.pot +++ b/addons/website_sale/i18n/website_sale.pot @@ -508,6 +508,11 @@ msgstr "" msgid "Bank Name" msgstr "" +#. module: website_sale +#: model_terms:ir.ui.view,arch_db:website_sale.address +msgid "Be aware!" +msgstr "" + #. module: website_sale #: model:res.country.group,name:website_sale.benelux msgid "BeNeLux" @@ -2377,6 +2382,12 @@ msgstr "" msgid "With the first mode you can set several prices in the product config form (from Sales tab). With the second one, you set prices and computation rules from Pricelists." msgstr "" +#. module: website_sale +#: model_terms:ir.ui.view,arch_db:website_sale.address +msgid "You are editing your billing and shipping addresses at the same time!
\n" +" If you want to modify your shipping address, create a" +msgstr "" + #. module: website_sale #: model_terms:ir.actions.act_window,help:website_sale.sale_report_action_carts #: model_terms:ir.actions.act_window,help:website_sale.sale_report_action_dashboard @@ -2507,6 +2518,11 @@ msgstr "" msgid "ml-2" msgstr "" +#. module: website_sale +#: model_terms:ir.ui.view,arch_db:website_sale.address +msgid "new address" +msgstr "" + #. module: website_sale #: model_terms:ir.ui.view,arch_db:website_sale.products msgid "o_website_sale_search" diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml index c79b13d1960..ab0c96e7ab4 100644 --- a/addons/website_sale/views/templates.xml +++ b/addons/website_sale/views/templates.xml @@ -1122,6 +1122,15 @@

Shipping Address

+ + +