mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 21:59:13 +00:00
hide naming series in production order
This commit is contained in:
@@ -20,6 +20,7 @@ cur_frm.cscript.onload = function(doc, dt, dn) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cur_frm.cscript.refresh = function(doc, dt, dn) {
|
cur_frm.cscript.refresh = function(doc, dt, dn) {
|
||||||
|
erpnext.hide_naming_series();
|
||||||
cur_frm.set_intro("");
|
cur_frm.set_intro("");
|
||||||
cfn_set_fields(doc, dt, dn);
|
cfn_set_fields(doc, dt, dn);
|
||||||
if(doc.docstatus===0 && !doc.__islocal) {
|
if(doc.docstatus===0 && !doc.__islocal) {
|
||||||
|
|||||||
Reference in New Issue
Block a user