Skip to content

[IMP][17.0] viin_brand_website_sale: drop unverifiable "#1" claim from promo#659

Merged
davidtranhp merged 1 commit into
Viindoo:17.0from
SonCrits:17_imp_viin_brand_website_sale
Jul 25, 2026
Merged

[IMP][17.0] viin_brand_website_sale: drop unverifiable "#1" claim from promo#659
davidtranhp merged 1 commit into
Viindoo:17.0from
SonCrits:17_imp_viin_brand_website_sale

Conversation

@SonCrits

@SonCrits SonCrits commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Mục tiêu

Gỡ cụm khẳng định xếp hạng "#1 / số 1" trong dòng "Powered by" ở footer trang eCommerce (website_sale) của bộ branding Viindoo, nhằm tuân thủ quy định quảng cáo tại Việt Nam.

Bối cảnh / Lý do

Footer eCommerce đang hiển thị "The #1 Open Source eCommerce Software" (tiếng Việt: "Phần mềm Thương mại Điện tử mã nguồn mở số 1") - một khẳng định "số 1 / dẫn đầu" không kèm tài liệu chứng minh. Luật quảng cáo Việt Nam cấm dùng từ ngữ so sánh tuyệt đối kiểu "số 1", "tốt nhất" khi không có căn cứ chứng minh và có thể bị xử phạt nặng, nên cần loại bỏ cụm này ở cả hai ngôn ngữ.

branding-no1-footer-v17-before image

Thay đổi

  • views/templates.xml: nhãn quảng bá "The [ADD] viin_brand_base, viin_brand_crm: add new module #1 Open Source eCommerce Software" -> "Open Source eCommerce Software"; thêm comment ngay tại nhãn ghi rõ ràng buộc theo luật quảng cáo VN (chống tái phát).
  • i18n/vi_VN.poi18n/viin_brand_website_sale.pot: đồng bộ msgid theo chuỗi nguồn mới; msgstr "... mã nguồn mở số 1" -> "... mã nguồn mở".
  • __manifest__.py: nâng version 0.1 -> 0.2 để cơ sở dữ liệu đã cài nhận cập nhật view + bản dịch khi -u.

Kiểm thử

  • Cài/nâng cấp viin_brand_website_sale, mở trang shop (website_sale), kiểm tra dòng "Powered by" ở footer: bản tiếng Anh hiển thị "Open Source eCommerce Software", bản tiếng Việt hiển thị "Phần mềm Thương mại Điện tử mã nguồn mở" - không còn "[ADD] viin_brand_base, viin_brand_crm: add new module #1 / số 1".
  • Đã rà toàn module: không còn chuỗi "[ADD] viin_brand_base, viin_brand_crm: add new module #1"/"số 1" trong nội dung hiển thị (chỉ còn trong comment mã nguồn, không phải nội dung render tới người dùng).
branding-no1-footer-v17-after image

Ảnh hưởng / Lưu ý

  • Chỉ đổi nhãn hiển thị footer eCommerce; không đụng schema, không đụng logic nghiệp vụ.
  • Không kèm test tự động vì đây là thay đổi nhãn hiển thị (label-only).
  • Ngoài phạm vi PR: manifest đang để auto_install: ['website_sale'] (hook convention gợi ý True) - giữ nguyên để diff tối thiểu trên nhánh stable, có thể dọn ở PR riêng.

@viinbot viinbot added the 🚀 Queue PR/Commit is added in build queue label Jul 24, 2026
@SonCrits SonCrits changed the title [IMP] viin_brand_website_sale: drop unverifiable "#1" claim from promo [IMP][17.0] viin_brand_website_sale: drop unverifiable "#1" claim from promo Jul 24, 2026
@viinbot viinbot added 🚀 Building PR/Commit is start building all step in script and removed 🚀 Queue PR/Commit is added in build queue labels Jul 24, 2026
…om promo

The eCommerce "Powered by" footer stated "The Viindoo#1 Open Source eCommerce Software" (vi_VN: "... mã nguồn mở số 1"), an unverifiable superiority ranking. Vietnam's advertising law forbids "Viindoo#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: promo label "The Viindoo#1 Open Source eCommerce Software" -> "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; 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.
@SonCrits
SonCrits force-pushed the 17_imp_viin_brand_website_sale branch from a5c0b70 to c45b622 Compare July 24, 2026 08:51
@viinbot viinbot added 🚀 Queue PR/Commit is added in build queue and removed 🚀 Building PR/Commit is start building all step in script labels Jul 24, 2026
@viinbot viinbot added 🚀 Building PR/Commit is start building all step in script 🚀 Running PR/Commit is done for everything and ready for manually test and removed 🚀 Queue PR/Commit is added in build queue 🚀 Building PR/Commit is start building all step in script labels Jul 24, 2026
@viinbot

viinbot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

@SonCrits Viindoo Test Suite has passed, but contains warnings!

@davidtranhp
davidtranhp merged commit 33a11ec into Viindoo:17.0 Jul 25, 2026
1 check passed
@viinbot viinbot added 🚩 Done PR/Commit is finished manually test and closed instance and removed 🚀 Running PR/Commit is done for everything and ready for manually test labels Jul 25, 2026
@SonCrits
SonCrits deleted the 17_imp_viin_brand_website_sale branch July 25, 2026 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚩 Done PR/Commit is finished manually test and closed instance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants