mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 04:59:18 +00:00
[naming series] create, remove Property Setters to set naming fixes webnotes/erpnext#854
This commit is contained in:
@@ -13,7 +13,7 @@ $.extend(erpnext, {
|
||||
},
|
||||
|
||||
hide_naming_series: function() {
|
||||
if(cur_frm.fields_dict.naming_series) {
|
||||
if(cur_frm.fields_dict.naming_series && !wn.meta.get_docfield(cur_frm.doctype, "naming_series")) {
|
||||
cur_frm.toggle_display("naming_series", cur_frm.doc.__islocal?true:false);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user