Fix in pricing rule patch

This commit is contained in:
Anand Doshi 2014-06-24 15:26:40 +05:30
parent e6440a75b5
commit ca37ff8b08

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