mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
7 lines
148 B
Python
7 lines
148 B
Python
def execute():
|
|
import webnotes
|
|
gd = webnotes.model.code.get_obj('Global Defaults')
|
|
gd.doc.maintain_same_rate = 1
|
|
gd.doc.save()
|
|
gd.on_update()
|
|
|