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