fix(Asset Repair): Filter Warehouse by Company

This commit is contained in:
GangaManoj 2021-06-16 10:48:07 +05:30
parent 6d6aee29e8
commit 34997789cd

View File

@ -41,6 +41,14 @@ cur_frm.fields_dict.cost_center.get_query = function(doc) {
};
cur_frm.fields_dict.project.get_query = function(doc) {
return {
filters: {
'company': doc.company
}
};
};
cur_frm.fields_dict.warehouse.get_query = function(doc) {
return {
filters: {
'is_group': 0,