Skip to content

Commit

Permalink
fix: customer name mandatory error (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitwaghchaure authored May 15, 2024
1 parent 53f221f commit 72379a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webshop/webshop/shopping_cart/cart.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,7 @@ def get_party(user=None):
if not frappe.db.exists("Portal User", {"parent": doc.name, "user": user}):
doc.append("portal_users", {"user": user})
doc.flags.ignore_permissions = True
doc.flags.ignore_mandatory = True
doc.save()

return doc
Expand Down

0 comments on commit 72379a7

Please sign in to comment.