commit | 79a664b4dc0c292f4467af937683590c4f46d3d0 | [log] [tgz] |
---|---|---|
author | Rushabh Mehta <rmehta@gmail.com> | Mon Apr 30 16:12:03 2012 +0530 |
committer | Rushabh Mehta <rmehta@gmail.com> | Mon Apr 30 16:12:03 2012 +0530 |
tree | 6a64749088e9d16cbb431c23cd0f0b70094423e9 | |
parent | 542acf67572bc87ff15fbe15d597490d2bdb0e4d [diff] [blame] |
cleaned up lead, opportunity, jv
diff --git a/erpnext/startup/startup.js b/erpnext/startup/startup.js index 86ef9bd..e3acba5 100644 --- a/erpnext/startup/startup.js +++ b/erpnext/startup/startup.js
@@ -215,3 +215,12 @@ } }); } + +erpnext.hide_naming_series = function() { + if(cur_frm.fields_dict.naming_series) { + hide_field('naming_series'); + if(cur_frm.doc.__islocal) { + unhide_field('naming_series'); + } + } +}