Skip to content

Conversation

@pilarvargas-tecnativa
Copy link
Contributor

@Tecnativa TT54398

@carlos-lopez-tecnativa please review

sergio-teruel and others added 24 commits October 24, 2025 11:13
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
- 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/
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/
Copy link
Contributor

@carlos-lopez-tecnativa carlos-lopez-tecnativa left a 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.

@pilarvargas-tecnativa pilarvargas-tecnativa force-pushed the 18.0-mig-website_sale_tax_toggle branch 2 times, most recently from 76345ac to b702d2f Compare October 24, 2025 15:47
@pedrobaeza
Copy link
Member

/ocabot migration website_sale_tax_toggle

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Oct 24, 2025
@OCA-git-bot OCA-git-bot mentioned this pull request Oct 24, 2025
40 tasks
@pilarvargas-tecnativa pilarvargas-tecnativa force-pushed the 18.0-mig-website_sale_tax_toggle branch 2 times, most recently from 69768f9 to 4e08fb5 Compare October 29, 2025 14:37
Comment on lines 1 to 5
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.
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@pilarvargas-tecnativa pilarvargas-tecnativa force-pushed the 18.0-mig-website_sale_tax_toggle branch from 4e08fb5 to 17c3c99 Compare October 29, 2025 17:08
@pilarvargas-tecnativa
Copy link
Contributor Author

@CarlosRoca13 please review

Copy link
Contributor

@CarlosRoca13 CarlosRoca13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@pedrobaeza
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 18.0-ocabot-merge-pr-1125-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 1655c06 into OCA:18.0 Nov 4, 2025
5 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 31719b9. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza pedrobaeza deleted the 18.0-mig-website_sale_tax_toggle branch November 4, 2025 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.