mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-12 14:58:24 +00:00
Maintain same rate throughout pur cycle: in global defaults, by default set true
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
def execute():
|
||||
import webnotes
|
||||
gd = webnotes.model.code.get_obj('Global Defaults')
|
||||
from webnotes.model.code import get_obj
|
||||
gd = get_obj('Global Defaults')
|
||||
gd.doc.maintain_same_rate = 1
|
||||
gd.doc.save()
|
||||
gd.on_update()
|
||||
|
||||
Reference in New Issue
Block a user