We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7849733 commit 319d769Copy full SHA for 319d769
1 file changed
erpnext/accounts/doctype/shipping_rule/shipping_rule.py
@@ -58,6 +58,11 @@ def validate(self):
58
self.validate_overlapping_shipping_rule_conditions()
59
60
def validate_from_to_values(self):
61
+ if self.calculate_based_on == "Fixed":
62
+ if self.conditions:
63
+ self.set("conditions", [])
64
+ return
65
+
66
zero_to_values = []
67
68
for d in self.get("conditions"):
0 commit comments