Merge pull request #11066 from rohitwaghchaure/pos_loading_issue

[Fix] Rate not fetched in the POS, User trying to add an item in the cart before loading of frm
This commit is contained in:
rohitwaghchaure 2017-10-05 13:34:22 +05:30 committed by GitHub
commit 4a5ac7cea6

View File

@ -49,11 +49,12 @@ erpnext.pos.PointOfSale = class PointOfSale {
this.set_online_status();
},
() => this.setup_pos_profile(),
() => this.make_new_invoice(),
() => {
frappe.timeout(1);
this.make_items();
this.bind_events();
},
() => this.make_new_invoice(),
() => this.page.set_title(__('Point of Sale'))
]);
}