[Fix] patch
This commit is contained in:
parent
b81e384753
commit
ec2a2ac47e
@ -28,6 +28,7 @@ def execute():
|
||||
when dt.name = '{0}' then {1}
|
||||
""".format(frappe.db.escape(d.get("parent")), d.get("qty")))
|
||||
|
||||
if when_then:
|
||||
frappe.db.sql('''
|
||||
UPDATE
|
||||
`tab%s` dt SET dt.total_qty = CASE %s END
|
||||
|
Loading…
x
Reference in New Issue
Block a user