2012-07-19 13:40:31 +05:30
|
|
|
from __future__ import unicode_literals
|
2012-05-22 14:53:40 +05:30
|
|
|
def execute():
|
|
|
|
import webnotes
|
2012-05-22 16:23:27 +05:30
|
|
|
from webnotes.model.code import get_obj
|
|
|
|
gd = get_obj('Global Defaults')
|
2012-05-22 14:53:40 +05:30
|
|
|
gd.doc.maintain_same_rate = 1
|
|
|
|
gd.doc.save()
|
|
|
|
gd.on_update()
|
|
|
|
|