diff --git a/erpnext/patches/pos_setting_patch.py b/erpnext/patches/pos_setting_patch.py new file mode 100644 index 00000000000..c202ab73b71 --- /dev/null +++ b/erpnext/patches/pos_setting_patch.py @@ -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')