minor fixes in stock entry
This commit is contained in:
parent
dc35137e20
commit
d270559fa9
@ -360,6 +360,7 @@ cur_frm.cscript.uom = function(doc, cdt, cdn) {
|
||||
|
||||
cur_frm.cscript.validate = function(doc, cdt, cdn) {
|
||||
cur_frm.cscript.validate_items(doc);
|
||||
if($.inArray(cur_frm.doc.purpose, ["Purchase Return", "Sales Return"])!==-1)
|
||||
validated = cur_frm.cscript.get_doctype_docname() ? true : false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user