Skip to content

Syncing from upstream OCA/e-commerce (16.0)#930

Merged
bt-admin merged 9 commits into
brain-tec:16.0from
OCA:16.0
Jun 5, 2026
Merged

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

Conversation

@bt-admin

@bt-admin bt-admin commented Jun 5, 2026

Copy link
Copy Markdown

bt_gitbot

Kimkhoi3010 and others added 9 commits January 15, 2026 14:04
…heckout when prices are hidden

Hide cart icon in the website header and block direct URL access to the
cart and checkout flow when website_show_price is False, so a user with
a previous cart cannot reach /shop/cart, /shop/checkout, /shop/confirm_order
or /shop/payment by typing the URL.
Check if request is available, because nothing apart from this module
restricts computing `website_show_price` from a request.
Signed-off-by ivantodorovich
Signed-off-by ivantodorovich
@bt-admin bt-admin added the 16.0 label Jun 5, 2026
@bt-admin bt-admin merged commit 671ba1f into brain-tec:16.0 Jun 5, 2026
4 checks passed
@codecov

codecov Bot commented Jun 5, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.87%. Comparing base (8249239) to head (626fada).
⚠️ Report is 117 commits behind head on 16.0.

Files with missing lines Patch % Lines
website_sale_hide_price/controllers/main.py 61.11% 5 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             16.0     #930      +/-   ##
==========================================
- Coverage   91.17%   90.87%   -0.31%     
==========================================
  Files         164      166       +2     
  Lines        1722     1742      +20     
  Branches      125      128       +3     
==========================================
+ Hits         1570     1583      +13     
- Misses        116      121       +5     
- Partials       36       38       +2     

☔ View full report in Codecov by Harness.
📢 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.

5 participants