fix: non group pos warehouse

This commit is contained in:
Nihantra C. Patel
2024-11-20 12:00:41 +05:30
committed by GitHub
parent 3b9e226d93
commit d526be0394

View File

@@ -272,7 +272,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();