fix(pos): warehouse should be in company

Signed-off-by: Sabu Siyad <hello@ssiyad.com>
This commit is contained in:
Sabu Siyad 2022-11-24 15:40:05 +05:30
parent 3724f2287c
commit 95a620a30d
No known key found for this signature in database
GPG Key ID: BA37A2A8DD8C37EE

View File

@ -12,6 +12,8 @@ erpnext.selling.POSInvoiceController = class POSInvoiceController extends erpnex
company() {
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) {