fix(Asset Repair): Filter Warehouse by Company
This commit is contained in:
parent
96de4fdf1f
commit
9520efb941
@ -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