Minor fix, if no default company
This commit is contained in:
@@ -71,7 +71,7 @@ $.extend(erpnext.queries, {
|
||||
|
||||
warehouse: function(doc) {
|
||||
return {
|
||||
filters: [["Warehouse", "company", "in", ["", doc.company]]]
|
||||
filters: [["Warehouse", "company", "in", ["", cstr(doc.company)]]]
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user