mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 21:49:18 +00:00
@@ -631,7 +631,6 @@ def get_applicable_shipping_rules(party=None, quotation=None):
|
|||||||
shipping_rules = get_shipping_rules(quotation)
|
shipping_rules = get_shipping_rules(quotation)
|
||||||
|
|
||||||
if shipping_rules:
|
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
|
# 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]
|
return [[rule, rule] for rule in shipping_rules]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user