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:
rohitwaghchaure
2019-02-18 12:43:57 +05:30
committed by GitHub

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