brotherton-erpnext/patches/january_2013/update_fraction_for_usd.py

6 lines
241 B
Python
Raw Normal View History

# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
# License: GNU General Public License v3. See license.txt
2013-01-22 05:51:55 +00:00
def execute():
import webnotes
webnotes.conn.sql("""update `tabCurrency` set fraction = 'Cent' where fraction = 'Cent[D]'""")