mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
Fix in pricing rule patch
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user