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 (#37001)

fix: Remove redundant code
(cherry picked from commit 96363db)

Co-authored-by: ViralKansodiya <141210323+viralkansodiya@users.noreply.github.com>
  • Loading branch information
mergify[bot] and viralkansodiya authored Sep 13, 2023
1 parent 8772e40 commit 3ecdf02
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 @@ -634,7 +634,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 3ecdf02

Please sign in to comment.