Gitiles
Code Review
Sign In
git.clicks.codes
/
Clicks
/
Forks
/
ERPNext
/
84745e7ac139eaaa99a4c0f2c8a83518748c5b2f
/
.
/
erpnext
/
patches
/
pos_setting_patch.py
blob: c202ab73b71959a333821e2137fdb6bc69bf2d19 [
file
] [
log
] [
blame
]
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'
)