From 13f2e4d8d7a4b292ee081bf9969c7469730e7b03 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 25 Jun 2013 10:56:39 +0530 Subject: [PATCH 1/2] [fix][transaction.js] syntax error --- public/js/transaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/transaction.js b/public/js/transaction.js index 0002f66259..79e7a56820 100644 --- a/public/js/transaction.js +++ b/public/js/transaction.js @@ -138,7 +138,7 @@ erpnext.TransactionController = wn.ui.form.Controller.extend({ var exchange_name = from_currency + "-" + to_currency; wn.model.with_doc("Currency Exchange", exchange_name, function(name) { var exchange_doc = wn.model.get_doc("Currency Exchange", exchange_name); - callback(exchange_doc ? flt(exchange_doc.exchange_rate)) : 0); + callback(exchange_doc ? flt(exchange_doc.exchange_rate) : 0); }); }, From 4d150e67e6dab644080bf029807e854189a857ef Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 25 Jun 2013 11:05:17 +0530 Subject: [PATCH 2/2] [patch] reload sales partner for webpage --- patches/patch_list.py | 1 + 1 file changed, 1 insertion(+) diff --git a/patches/patch_list.py b/patches/patch_list.py index dc489f6273..24e6beb824 100644 --- a/patches/patch_list.py +++ b/patches/patch_list.py @@ -200,6 +200,7 @@ patch_list = [ "execute:webnotes.reload_doc('setup', 'doctype', 'item_group') #2013-03-25", "execute:webnotes.reload_doc('website', 'doctype', 'blog_post') #2013-03-25", "execute:webnotes.reload_doc('website', 'doctype', 'web_page') #2013-03-25", + "execute:webnotes.reload_doc('setup', 'doctype', 'sales_partner') #2013-06-25", "execute:webnotes.bean('Style Settings').save() #2013-03-25", "execute:webnotes.conn.set_value('Email Settings', None, 'send_print_in_body_and_attachment', 1)", "patches.march_2013.p09_unset_user_type_partner",