Syncing from upstream OCA/e-commerce (15.0)#929
Merged
Conversation
[ADD] website_sale_cart_selectable
Odoo upstream has changed its classes, and the selectors taken were very variable. Use better ones.
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
Currently translated at 100.0% (2 of 2 strings) Translation: e-commerce-12.0/e-commerce-12.0-website_sale_cart_selectable Translate-URL: https://translation.odoo-community.org/projects/e-commerce-12-0/e-commerce-12-0-website_sale_cart_selectable/es/
Currently translated at 100.0% (2 of 2 strings) Translation: e-commerce-12.0/e-commerce-12.0-website_sale_cart_selectable Translate-URL: https://translation.odoo-community.org/projects/e-commerce-12-0/e-commerce-12-0-website_sale_cart_selectable/fr/
Currently translated at 100.0% (2 of 2 strings) Translation: e-commerce-12.0/e-commerce-12.0-website_sale_cart_selectable Translate-URL: https://translation.odoo-community.org/projects/e-commerce-12-0/e-commerce-12-0-website_sale_cart_selectable/ca/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: e-commerce-12.0/e-commerce-12.0-website_sale_cart_selectable Translate-URL: https://translation.odoo-community.org/projects/e-commerce-12-0/e-commerce-12-0-website_sale_cart_selectable/
Added _is_add_to_cart_allowed() to add a server-side guard. When website_btn_addtocart_published is false, _is_add_to_cart_allowed() returns false, which prevents the product from being added to the cart via _cart_update() by bypassing the button.
…ce_message to public users
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: e-commerce-15.0/e-commerce-15.0-website_sale_hide_price Translate-URL: https://translation.odoo-community.org/projects/e-commerce-15-0/e-commerce-15-0-website_sale_hide_price/
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 15.0 #929 +/- ##
==========================================
- Coverage 92.69% 92.67% -0.03%
==========================================
Files 282 286 +4
Lines 2808 2825 +17
Branches 256 257 +1
==========================================
+ Hits 2603 2618 +15
- Misses 139 140 +1
- Partials 66 67 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bt_gitbot