mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 20:29:09 +00:00
Features Setting
1. Features Setting DocType 2. Startup.js will be added with a function which binds with refresh of doc 3. Startup.js contains the Features dictionary
This commit is contained in:
@@ -28,7 +28,7 @@ cur_frm.cscript.onload_post_render = function(doc, cdt, cdn) {
|
||||
if(doc.quotation) cur_frm.cscript['Pull Quotation Details'](doc,cdt,cdn);
|
||||
} else {
|
||||
cur_frm.cscript.load_taxes(doc, cdt, cdn);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Refresh
|
||||
@@ -70,7 +70,7 @@ cur_frm.cscript.refresh = function(doc, cdt, cdn) {
|
||||
} else {
|
||||
hide_field(['Repair Sales Order', 'Send SMS', 'message', 'customer_mobile_no'])
|
||||
}
|
||||
|
||||
pscript.apply_feature_settings();
|
||||
}
|
||||
|
||||
//customer
|
||||
|
||||
Reference in New Issue
Block a user