Skip to content

Commit

Permalink
Merge pull request frappe#27490 from frappe-pr-bot/backport/version-1…
Browse files Browse the repository at this point in the history
…3-pre-release/27488

fix: Args missing error on changing Price List currency with cart enabled
  • Loading branch information
marination authored Sep 14, 2021
2 parents e6771f4 + 52157cc commit a3d64c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def on_change(self):
if not (new_fields == old_fields):
create_website_items_index()

def validate_cart_settings(doc, method):
def validate_cart_settings(doc=None, method=None):
frappe.get_doc("E Commerce Settings", "E Commerce Settings").run_method("validate")

def get_shopping_cart_settings():
Expand Down

0 comments on commit a3d64c6

Please sign in to comment.