fix(Asset Repair): Filter Warehouse by Company
This commit is contained in:
parent
6d6aee29e8
commit
34997789cd
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user