brotherton-erpnext/erpnext/patches/january_2013/update_fraction_for_usd.py
2013-12-11 10:43:52 +05:30

6 lines
258 B
Python

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