fix: non group pos warehouse

(cherry picked from commit d526be0394)
This commit is contained in:
Nihantra C. Patel
2024-11-20 12:00:41 +05:30
committed by Mergify
parent 859672c419
commit ec40131d4d

View File

@@ -277,7 +277,7 @@ erpnext.PointOfSale.ItemDetails = class {
};
this.warehouse_control.df.get_query = () => {
return {
filters: { company: this.events.get_frm().doc.company },
filters: { company: this.events.get_frm().doc.company, is_group: 0 },
};
};
this.warehouse_control.refresh();