commit | a1be6021c4d13b1212dff74dc981a602951994fb | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@erpnext.com> | Tue Jun 24 15:26:40 2014 +0530 |
committer | Anand Doshi <anand@erpnext.com> | Tue Jun 24 15:26:40 2014 +0530 |
tree | 0880dc83d007381ebda46bee16067c95fdcd95fb | |
parent | 5dfacf2615a142e71461d2f5d5d63b275de86a60 [diff] |
Fix in pricing rule patch
diff --git a/erpnext/patches/v4_0/customer_discount_to_pricing_rule.py b/erpnext/patches/v4_0/customer_discount_to_pricing_rule.py index fa35898..bd27174 100644 --- a/erpnext/patches/v4_0/customer_discount_to_pricing_rule.py +++ b/erpnext/patches/v4_0/customer_discount_to_pricing_rule.py
@@ -24,7 +24,8 @@ "applicable_for": "Customer", "customer": d.parent, "price_or_discount": "Discount Percentage", - "discount_percentage": d.discount + "discount_percentage": d.discount, + "selling": 1 }).insert() frappe.db.auto_commit_on_many_writes = False