From d19be49889c261fb7f281d3a207f64f47315bc7d Mon Sep 17 00:00:00 2001 From: rohitwaghchaure Date: Mon, 11 Dec 2017 14:57:43 +0530 Subject: [PATCH] [fix] Error opening the POS (#11929) --- erpnext/selling/page/point_of_sale/point_of_sale.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erpnext/selling/page/point_of_sale/point_of_sale.js b/erpnext/selling/page/point_of_sale/point_of_sale.js index 0625474e26..f3599d56d8 100644 --- a/erpnext/selling/page/point_of_sale/point_of_sale.js +++ b/erpnext/selling/page/point_of_sale/point_of_sale.js @@ -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,