pos setting patch
This commit is contained in:
parent
c184dc56a4
commit
db126e80b8
6
erpnext/patches/pos_setting_patch.py
Normal file
6
erpnext/patches/pos_setting_patch.py
Normal file
@ -0,0 +1,6 @@
|
||||
def execute():
|
||||
import webnotes
|
||||
webnotes.conn.sql("update `tabDocField` set `default` = 1 where fieldname = 'conversion_rate' and parent = 'POS Setting'")
|
||||
|
||||
from webnotes.model import delete_doc
|
||||
delete_doc('DocType', 'POS Settings')
|
Loading…
x
Reference in New Issue
Block a user