Skip to content

[IMP][13.0] viin_brand_website_sale: drop unverifiable "#1" claim from promo#660

Open
SonCrits wants to merge 1 commit into
Viindoo:13.0from
SonCrits:13_imp_viin_brand_website_sale
Open

[IMP][13.0] viin_brand_website_sale: drop unverifiable "#1" claim from promo#660
SonCrits wants to merge 1 commit into
Viindoo:13.0from
SonCrits:13_imp_viin_brand_website_sale

Conversation

@SonCrits

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 trên nhánh 13.0, để tuân thủ quy định quảng cáo tại Việt Nam. Đối ứng với PR trên 17.0 (#659) - nhiều khách hàng SaaS Viindoo vẫn còn instance ở 13.0.

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ữ.

Thay đổi

  • views/templates.xml: gỡ "[ADD] viin_brand_base, viin_brand_crm: add new module #1" khỏi nhãn quảng bá VÀ text-node "The" đứng riêng (ở 13.0 "The" nằm ngoài thẻ <a>) → nhãn còn "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, gỡ term "The" nay đã mồ cô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ử

  • Workspace không có Odoo 13 core nên không dựng instance 13.0 local để chụp; xác minh bằng diff nguồn + kiểm chuỗi: không còn "[ADD] viin_brand_base, viin_brand_crm: add new module #1"/"số 1" trong nội dung render (chỉ còn trong comment mã nguồn), XML well-formed, .po/.pot cân msgid/msgstr. Layout footer ở 13.0 và 17.0 gần như trùng nhau; ảnh footer TRƯỚC/SAU chụp trên instance 17.0 (kèm PR [IMP][17.0] viin_brand_website_sale: drop unverifiable "#1" claim from promo #659) minh hoạ chung cho thay đổi này.
  • Trên instance 13.0 thật: cài/nâng cấp viin_brand_website_sale, mở trang shop, kiểm dòng "Powered by": EN "Open Source eCommerce Software", VI "Phần mềm Thương mại Điện tử Mã nguồn mở".

Ả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']website trỏ URL chung viindoo.com (đều pre-existing) - giữ nguyên để diff tối thiểu trên nhánh stable, có thể dọn ở PR riêng.

…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: drop the "Viindoo#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.
@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][13.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 ⚠️ Failed PR/Commit is failed when run script 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 failed!

@SonCrits

Copy link
Copy Markdown
Contributor Author

@viinbot rebuild

@viinbot viinbot added 🚀 Queue PR/Commit is added in build queue and removed ⚠️ Failed PR/Commit is failed when run script labels Jul 24, 2026
@viinbot

viinbot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

@SonCrits PR in the queue to wait for rebuild!

@viinbot viinbot added 🚀 Building PR/Commit is start building all step in script ⚠️ Failed PR/Commit is failed when run script 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 failed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚠️ Failed PR/Commit is failed when run script

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants