[fix] Error opening the POS (#11929)

This commit is contained in:
rohitwaghchaure 2017-12-11 14:57:43 +05:30 committed by Nabin Hait
parent 1b30642362
commit d19be49889

View File

@ -419,6 +419,8 @@ erpnext.pos.PointOfSale = class PointOfSale {
}
set_pos_profile_data() {
this.frm.doc.company = this.company;
return new Promise(resolve => {
return this.frm.call({
doc: this.frm.doc,