-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
fix: Avoid automatic customer creation on website user login #27914
fix: Avoid automatic customer creation on website user login #27914
Conversation
- Moved return to next line - Space between function import and body
197a3f0
to
a780f78
Compare
Codecov Report
@@ Coverage Diff @@
## develop #27914 +/- ##
===========================================
- Coverage 54.40% 54.37% -0.04%
===========================================
Files 1254 1254
Lines 67717 67720 +3
===========================================
- Hits 36840 36820 -20
- Misses 30877 30900 +23
|
Not sure what test to write here, it just refreshes cart count. test case is too specific. Failing UI tests are unrelated |
@Mergifyio backport version-13-hotfix |
Command
|
…-27914 fix: Avoid automatic customer creation on website user login (backport #27914)
…reation-website fix: Avoid automatic customer creation on website user login
…fix/pr-27914 fix: Avoid automatic customer creation on website user login (backport frappe#27914)
We need to test the B2C scenario: a new user registers as s/he wants to buy an item with the cart. So that user is immediately a customer. |
Issue:
Fix:
check_customer_or_supplier
tois_customer
. If supplier we were exiting the function anyway so why return it.To test: