mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-17 17:26:43 +00:00
pos setting patch
This commit is contained in:
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')
|
||||
Reference in New Issue
Block a user