Fix in pricing rule patch
This commit is contained in:
parent
e6440a75b5
commit
ca37ff8b08
@ -24,7 +24,8 @@ def execute():
|
|||||||
"applicable_for": "Customer",
|
"applicable_for": "Customer",
|
||||||
"customer": d.parent,
|
"customer": d.parent,
|
||||||
"price_or_discount": "Discount Percentage",
|
"price_or_discount": "Discount Percentage",
|
||||||
"discount_percentage": d.discount
|
"discount_percentage": d.discount,
|
||||||
|
"selling": 1
|
||||||
}).insert()
|
}).insert()
|
||||||
|
|
||||||
frappe.db.auto_commit_on_many_writes = False
|
frappe.db.auto_commit_on_many_writes = False
|
||||||
|
Loading…
Reference in New Issue
Block a user