fix(pos): warehouse should be in company

Signed-off-by: Sabu Siyad <hello@ssiyad.com>
(cherry picked from commit 95a620a30d)
This commit is contained in:
Sabu Siyad
2022-11-24 15:40:05 +05:30
committed by Mergify
parent e093c32d06
commit c03ec80d1a

View File

@@ -12,6 +12,8 @@ erpnext.selling.POSInvoiceController = class POSInvoiceController extends erpnex
company() { company() {
erpnext.accounts.dimensions.update_dimension(this.frm, this.frm.doctype); erpnext.accounts.dimensions.update_dimension(this.frm, this.frm.doctype);
this.frm.set_value("set_warehouse", "");
this.frm.set_value("taxes_and_charges", "");
} }
onload(doc) { onload(doc) {