Fix - POS >> Item listing after submit pos >> list all the items which are not restricted to that pos profile #16588

This commit is contained in:
Jay Parikh 2019-02-08 11:13:09 +00:00
parent 504f317434
commit 1906f6da3a

View File

@ -166,7 +166,7 @@ erpnext.pos.PointOfSale = class PointOfSale {
});
frappe.ui.form.on('Sales Invoice', 'selling_price_list', (frm) => {
if(this.items) {
if(this.items && frm.doc.pos_profile) {
this.items.reset_items();
}
})