mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-14 15:57:41 +00:00
fix(Asset Repair): Filter Warehouse by Company
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user