mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-04 22:18:27 +00:00
moved directory structure
This commit is contained in:
9
patches/may_2012/same_purchase_rate_patch.py
Normal file
9
patches/may_2012/same_purchase_rate_patch.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from __future__ import unicode_literals
|
||||
def execute():
|
||||
import webnotes
|
||||
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