mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +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