Merge pull request #16610 from jay-parikh/hotfix
fix: (POS) Item listing issue in pos after submit for Multi Company POS Profile
This commit is contained in:
commit
1bcbe9069b
@ -166,7 +166,7 @@ erpnext.pos.PointOfSale = class PointOfSale {
|
|||||||
});
|
});
|
||||||
|
|
||||||
frappe.ui.form.on('Sales Invoice', 'selling_price_list', (frm) => {
|
frappe.ui.form.on('Sales Invoice', 'selling_price_list', (frm) => {
|
||||||
if(this.items) {
|
if(this.items && frm.doc.pos_profile) {
|
||||||
this.items.reset_items();
|
this.items.reset_items();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user