mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
merged with slow branch
This commit is contained in:
7
patches/july_2013/p01_same_sales_rate_patch.py
Normal file
7
patches/july_2013/p01_same_sales_rate_patch.py
Normal file
@@ -0,0 +1,7 @@
|
||||
def execute():
|
||||
import webnotes
|
||||
webnotes.reload_doc("setup", "doctype", "global_defaults")
|
||||
|
||||
gd = webnotes.bean('Global Defaults')
|
||||
gd.doc.maintain_same_sales_rate = 1
|
||||
gd.save()
|
||||
Reference in New Issue
Block a user