Maintain same rate throughout pur cycle: in global defaults, by default set true
This commit is contained in:
parent
a21d2a9b38
commit
78b62cd865
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user