[minor] allow pricing rule to have negative discount
diff --git a/erpnext/accounts/doctype/pricing_rule/pricing_rule.py b/erpnext/accounts/doctype/pricing_rule/pricing_rule.py
index bcdf9fc..5209e8e 100644
--- a/erpnext/accounts/doctype/pricing_rule/pricing_rule.py
+++ b/erpnext/accounts/doctype/pricing_rule/pricing_rule.py
@@ -59,7 +59,7 @@
self.set(f, None)
def validate_price_or_discount(self):
- for field in ["Price", "Discount Percentage"]:
+ for field in ["Price"]:
if flt(self.get(frappe.scrub(field))) < 0:
throw(_("{0} can not be negative").format(field))