Merge pull request #44240 from Nihantra-Patel/fix_pos_warehouse

fix: non group pos warehouse
This commit is contained in:
Nihantra C. Patel
2024-11-20 12:10:42 +05:30
committed by GitHub

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();