mirror of
https://github.com/hanzoai/erp.git
synced 2026-09-30 21:46:27 +00:00
278 B
278 B
_label
| _label |
|---|
| Restrict Purpose of Stock Entry |
cur_frm.cscript.custom_validate = function(doc) {
if(user=="[email protected]" && doc.purpose!="Material Receipt") {
msgprint("You are only allowed Material Receipt");
validated = false;
}
}