Skip to content

Syncing from upstream OCA/e-commerce (18.0)#922

Merged
bt-admin merged 9 commits into
brain-tec:18.0from
OCA:18.0
May 23, 2026
Merged

Syncing from upstream OCA/e-commerce (18.0)#922
bt-admin merged 9 commits into
brain-tec:18.0from
OCA:18.0

Conversation

@bt-admin
Copy link
Copy Markdown

bt_gitbot

pilarvargas-tecnativa and others added 9 commits May 22, 2026 10:28
Use `sale_product_domain()` when checking whether a public category has
products.

This computation controls the visibility of categories in the e-commerce
navigation, so it should rely on the same product availability domain used
by the shop.

Calling `website.website_domain()` directly only applies the generic
website filter. This bypasses customizations done on `sale_product_domain()`
and may mark a category as empty even when it contains products that are
actually available in the current shop.

Using `sale_product_domain()` keeps category visibility aligned with the
shop product search.

TT62516
Signed-off-by pedrobaeza
Signed-off-by pedrobaeza
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: e-commerce-18.0/e-commerce-18.0-website_snippet_product_category
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_snippet_product_category/
@bt-admin bt-admin added the 18.0 label May 23, 2026
@bt-admin bt-admin merged commit 4f665d0 into brain-tec:18.0 May 23, 2026
4 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented May 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.11%. Comparing base (22a3367) to head (704f6a0).
⚠️ Report is 75 commits behind head on 18.0.

Additional details and impacted files
@@            Coverage Diff             @@
##             18.0     #922      +/-   ##
==========================================
+ Coverage   89.08%   89.11%   +0.02%     
==========================================
  Files         179      179              
  Lines        2052     2057       +5     
  Branches      139      139              
==========================================
+ Hits         1828     1833       +5     
  Misses        190      190              
  Partials       34       34              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants