From 0e2461fa7c99d309b650bb7d7a9b6523c1c4b213 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Wed, 14 Mar 2012 17:53:53 +0530 Subject: [PATCH 1/2] fix in qa inspection report link --- erpnext/stock/page/stock_home/stock_home.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/erpnext/stock/page/stock_home/stock_home.html b/erpnext/stock/page/stock_home/stock_home.html index ae677de296a..03c5fabd43f 100644 --- a/erpnext/stock/page/stock_home/stock_home.html +++ b/erpnext/stock/page/stock_home/stock_home.html @@ -49,7 +49,7 @@
Incoming Inspection + href="#!List/QA Inspection Report">Incoming Inspection
Sales or Purchase Returns
-
From 92da889d32392a285259128a6dcf1d732b79c961 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 15 Mar 2012 11:50:26 +0530 Subject: [PATCH 2/2] fix in report builder saving --- erpnext/startup/event_handlers.py | 1 + js/all-app.js | 4 ++-- js/all-web.js | 2 +- version.num | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/erpnext/startup/event_handlers.py b/erpnext/startup/event_handlers.py index 7db56bdb530..703399aaa1e 100644 --- a/erpnext/startup/event_handlers.py +++ b/erpnext/startup/event_handlers.py @@ -87,6 +87,7 @@ def boot_session(bootinfo): import webnotes.model.doctype bootinfo['docs'] += webnotes.model.doctype.get('Event') + bootinfo['docs'] += webnotes.model.doctype.get('Search Criteria') bootinfo['modules_list'] = webnotes.conn.get_global('modules_list') diff --git a/js/all-app.js b/js/all-app.js index 612e78c7484..abb3c085aa1 100644 --- a/js/all-app.js +++ b/js/all-app.js @@ -686,7 +686,7 @@ var v=_f.get_value(this.doctype,this.docname,this.df.fieldname);else{if(this.opt var v=this.options_list[0];else var v=null;} this.input.set_input(v);} -this.input.set_input=function(v){if(!v){if(!me.input.multiple){if(me.docname){if(me.options_list&&me.options_list.length){me.set(me.options_list[0]);me.input.value=me.options_list[0];}else{me.input.value='';}}}}else{if(me.options_list){if(me.input.multiple){for(var i=0;i