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 a0ea68499b
commit 4335659905

View File

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