From f5ba426e465886f83595a89568a59fca87af0a66 Mon Sep 17 00:00:00 2001 From: SonCrits Date: Fri, 24 Jul 2026 16:26:45 +0700 Subject: [PATCH] [IMP] viin_brand_website_sale: drop unverifiable "#1" claim from promo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The eCommerce "Powered by" footer stated "The #1 Open Source eCommerce Software" (vi_VN: "... Mã nguồn mở số 1"), an unverifiable superiority ranking. Vietnam's advertising law forbids "#1"/"best" style claims without supporting evidence and penalises them heavily, so remove the ranking wording from both the template source and the Vietnamese translation. - views/templates.xml: drop the "#1" from the promo label and the standalone "The" text node so the label reads "Open Source eCommerce Software"; add a comment at the label noting the VN advertising-law constraint. - i18n/vi_VN.po and .pot: realign msgid to the new source string and drop the now-orphaned "The" term; msgstr "... Mã nguồn mở số 1" -> "... Mã nguồn mở". - bump module version 0.1 -> 0.2 so existing databases pick up the updated view and translation on upgrade. --- viin_brand_website_sale/__manifest__.py | 2 +- viin_brand_website_sale/i18n/vi_VN.po | 9 ++------- viin_brand_website_sale/i18n/viin_brand_website_sale.pot | 7 +------ viin_brand_website_sale/views/templates.xml | 4 ++-- 4 files changed, 6 insertions(+), 16 deletions(-) diff --git a/viin_brand_website_sale/__manifest__.py b/viin_brand_website_sale/__manifest__.py index c6a69bca..aa5c8a99 100644 --- a/viin_brand_website_sale/__manifest__.py +++ b/viin_brand_website_sale/__manifest__.py @@ -36,7 +36,7 @@ # Check https://github.com/tvtma/odoo/blob/13.0/odoo/addons/base/data/ir_module_category_data.xml # for the full list 'category': 'Hidden', - 'version': '0.1', + 'version': '0.2', # any module necessary for this one to work correctly 'depends': ['website_sale'], diff --git a/viin_brand_website_sale/i18n/vi_VN.po b/viin_brand_website_sale/i18n/vi_VN.po index fc984d02..03626a7c 100644 --- a/viin_brand_website_sale/i18n/vi_VN.po +++ b/viin_brand_website_sale/i18n/vi_VN.po @@ -17,10 +17,5 @@ msgstr "" #. module: viin_brand_website_sale #: model_terms:ir.ui.view,arch_db:viin_brand_website_sale.brand_promotion -msgid "#1 Open Source eCommerce Software" -msgstr "Phần mềm Thương mại Điện tử Mã nguồn mở số 1" - -#. module: viin_brand_website_sale -#: model_terms:ir.ui.view,arch_db:viin_brand_website_sale.brand_promotion -msgid "The" -msgstr " " +msgid "Open Source eCommerce Software" +msgstr "Phần mềm Thương mại Điện tử Mã nguồn mở" diff --git a/viin_brand_website_sale/i18n/viin_brand_website_sale.pot b/viin_brand_website_sale/i18n/viin_brand_website_sale.pot index 895f5635..4f0dd2e6 100644 --- a/viin_brand_website_sale/i18n/viin_brand_website_sale.pot +++ b/viin_brand_website_sale/i18n/viin_brand_website_sale.pot @@ -17,10 +17,5 @@ msgstr "" #. module: viin_brand_website_sale #: model_terms:ir.ui.view,arch_db:viin_brand_website_sale.brand_promotion -msgid "#1 Open Source eCommerce Software" -msgstr "" - -#. module: viin_brand_website_sale -#: model_terms:ir.ui.view,arch_db:viin_brand_website_sale.brand_promotion -msgid "The" +msgid "Open Source eCommerce Software" msgstr "" diff --git a/viin_brand_website_sale/views/templates.xml b/viin_brand_website_sale/views/templates.xml index b7eb5949..e60c78b1 100644 --- a/viin_brand_website_sale/views/templates.xml +++ b/viin_brand_website_sale/views/templates.xml @@ -7,9 +7,9 @@ position="replace"> - The + #1 Open Source eCommerce Software + href="https://viindoo.com/intro/ecommerce?utm_source=db&utm_medium=website">Open Source eCommerce Software