Skip to content

Commit

Permalink
fix: Remove redundant code (#37001)
Browse files Browse the repository at this point in the history
fix: Remove redundant code
  • Loading branch information
viralkansodiya authored Sep 13, 2023
1 parent 7711744 commit 96363db
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion erpnext/e_commerce/shopping_cart/cart.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,6 @@ def get_applicable_shipping_rules(party=None, quotation=None):
shipping_rules = get_shipping_rules(quotation)

if shipping_rules:
rule_label_map = frappe.db.get_values("Shipping Rule", shipping_rules, "label")
# we need this in sorted order as per the position of the rule in the settings page
return [[rule, rule] for rule in shipping_rules]

Expand Down

0 comments on commit 96363db

Please sign in to comment.