From 2afe974a5baa0584f1a3a93d30d59ac5bbe1722f Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Tue, 29 May 2012 10:58:28 +0530 Subject: [PATCH] fix in remove euro currency patch --- erpnext/patches/may_2012/remove_euro_currency.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/patches/may_2012/remove_euro_currency.py b/erpnext/patches/may_2012/remove_euro_currency.py index 775532f35a..2fb53738af 100644 --- a/erpnext/patches/may_2012/remove_euro_currency.py +++ b/erpnext/patches/may_2012/remove_euro_currency.py @@ -13,4 +13,5 @@ def execute(): webnotes.conn.sql("""\ update `%s` set `%s`='EUR' where `%s`='EURO'""" % (tab, field, field)) + webnotes.conn.sql("update `tabSingles` set value='EUR' where value='EURO'") webnotes.conn.sql("delete from `tabCurrency` where name='EURO'") \ No newline at end of file