mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 07:02:54 +00:00
refactored defaults, bin material request wip
This commit is contained in:
@@ -26,7 +26,7 @@ cur_frm.cscript.onload = function(doc,cdt,cdn){
|
||||
}
|
||||
|
||||
cur_frm.cscript.onload_post_render = function(doc,cdt,cdn){
|
||||
if(doc.__islocal && doc.employee==user_defaults.employee) {
|
||||
if(doc.__islocal && doc.employee==wn.defaults.get_user_default("employee")) {
|
||||
cur_frm.set_value("employee", "");
|
||||
cur_frm.set_value("employee_name", "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user