Merge pull request #1837 from anandpdoshi/anand-wip

Fix in pricing rule patch
This commit is contained in:
Anand Doshi 2014-06-24 17:11:29 +05:30
commit 1ef3dbabfc

View File

@ -24,7 +24,8 @@ def execute():
"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