Skip to content
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

[17.0] [MIG] website_sale_require_login #973

Open
wants to merge 30 commits into
base: 17.0
Choose a base branch
from

Conversation

azimkhankuat
Copy link

[17.0] [MIG] website_sale_require_login

yajo and others added 28 commits October 2, 2024 09:50
Example of module which requires such refactoring:

https://github.com/it-projects-llc/website-addons/tree/10.0/website_sale_checkout_store

[FIX] condition to show normal checkout button was wrong in website_sale_suggest_create_account
I was equal to

(user_authenticated or not signup_allowed and can_checkout)

while it has to be

(user_authenticated or not signup_allowed) and can_checkout
This test was expecting sign up to be disabled because `auth_signup` is not in its module graph, but since that addon is autoinstallable, it could be installed without our knowledge.

Just make sure signup is disabled before running the public user test, to make it unitary.

Also, moved to at-install mode, since the post-install one adds no value.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: e-commerce-14.0/e-commerce-14.0-website_sale_require_login
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-14-0/e-commerce-14-0-website_sale_require_login/
@azimkhankuat azimkhankuat force-pushed the 17.0-mig-website_sale_require_login branch 2 times, most recently from 8174945 to 1722c67 Compare October 2, 2024 07:06
@azimkhankuat azimkhankuat force-pushed the 17.0-mig-website_sale_require_login branch 4 times, most recently from 8176835 to b4f8bb9 Compare October 2, 2024 07:36
@azimkhankuat azimkhankuat force-pushed the 17.0-mig-website_sale_require_login branch from b4f8bb9 to d8fa1a1 Compare October 2, 2024 09:21
Copy link

@em230418 em230418 left a comment

Choose a reason for hiding this comment

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

Code and functional review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.