-
-
Notifications
You must be signed in to change notification settings - Fork 534
[18.0][MIG] website_sale_tax_toggle: Migration to version 18.0 #1125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[18.0][MIG] website_sale_tax_toggle: Migration to version 18.0 #1125
Conversation
This tour was not effective because: - Steps did not have proper wait conditions. - That made them run fast without actually testing the desired effect. - That left many remaining requests that could made tests to fail randomly, as you can see in OCA#420 (comment). Now it's shorter but more effective: - It skips going to `/shop` at the start because it starts already there. - It moves tour code to demo data. - It adds proper checks to each trigger, to make sure it doesn't run before checking the result is OK. @Tecnativa TT24410
…2x_alt_price @Tecnativa TT24410
- Switch to setUpClass for avoiding repeat the same setup for each test. - Include context keys for avoiding mail operations overhead.
Currently translated at 100.0% (2 of 2 strings) Translation: e-commerce-16.0/e-commerce-16.0-website_sale_tax_toggle Translate-URL: https://translation.odoo-community.org/projects/e-commerce-16-0/e-commerce-16-0-website_sale_tax_toggle/it/
…t website level Implemented a new setting `default_tax_toggle` at the website level to control the default state of the tax toggle on the website. This allows the tax toggle to be set to active or inactive by default when a user first visits the website. TT55895
Currently translated at 100.0% (5 of 5 strings) Translation: e-commerce-16.0/e-commerce-16.0-website_sale_tax_toggle Translate-URL: https://translation.odoo-community.org/projects/e-commerce-16-0/e-commerce-16-0-website_sale_tax_toggle/it/
…play taxes for the entire website. TT55895
Currently translated at 100.0% (6 of 6 strings) Translation: e-commerce-16.0/e-commerce-16.0-website_sale_tax_toggle Translate-URL: https://translation.odoo-community.org/projects/e-commerce-16-0/e-commerce-16-0-website_sale_tax_toggle/it/
carlos-lopez-tecnativa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, please let me know what you think about my comments.
76345ac to
b702d2f
Compare
|
/ocabot migration website_sale_tax_toggle |
69768f9 to
4e08fb5
Compare
| A default value is set to show taxes at website level. To set this | ||
| value, go to website \> configuration and select the website on which to | ||
| change the default value. The field Toggle default tax will be unchecked | ||
| by default, to make the default value active when entering the website, | ||
| check the field. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it’s necessary to update the README
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
4e08fb5 to
17c3c99
Compare
|
@CarlosRoca13 please review |
CarlosRoca13
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
|
/ocabot merge nobump |
|
Hey, thanks for contributing! Proceeding to merge this for you. |
|
Congratulations, your PR was merged at 31719b9. Thanks a lot for contributing to OCA. ❤️ |
@Tecnativa TT54398
@carlos-lopez-tecnativa please review