commit | ca37ff8b08d5b0dd6db1bd48912807aa40872aba | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@erpnext.com> | Tue Jun 24 15:26:40 2014 +0530 |
committer | Anand Doshi <anand@erpnext.com> | Wed Jun 25 16:57:50 2014 +0530 |
tree | 9a7ce2ede8e018ffe89ae2974baa1220061afd8a | |
parent | e6440a75b50e3d30ae3af0e476a4dd569a93be43 [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