fixes in patch
This commit is contained in:
parent
08d803791d
commit
536e0cb1c4
@ -5,5 +5,5 @@ def execute():
|
|||||||
reload_doc('accounts', 'doctype', 'pv_detail')
|
reload_doc('accounts', 'doctype', 'pv_detail')
|
||||||
reload_doc('buying', 'doctype', 'po_detail')
|
reload_doc('buying', 'doctype', 'po_detail')
|
||||||
reload_doc('stock', 'doctype', 'purchase_receipt_detail')
|
reload_doc('stock', 'doctype', 'purchase_receipt_detail')
|
||||||
if webnotes.conn.sql("select name from 'tabDocField` where parent = 'PO Detail' and fieldname = 'discount'"):
|
if webnotes.conn.sql("select name from `tabDocField` where parent = 'PO Detail' and fieldname = 'discount'"):
|
||||||
webnotes.conn.sql("update `tabPO Detail` set discount_rate=discount")
|
webnotes.conn.sql("update `tabPO Detail` set discount_rate=discount")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user