fix(pos): warehouse should be in company
Signed-off-by: Sabu Siyad <hello@ssiyad.com>
diff --git a/erpnext/accounts/doctype/pos_invoice/pos_invoice.js b/erpnext/accounts/doctype/pos_invoice/pos_invoice.js
index 15c2922..c868d9e 100644
--- a/erpnext/accounts/doctype/pos_invoice/pos_invoice.js
+++ b/erpnext/accounts/doctype/pos_invoice/pos_invoice.js
@@ -12,6 +12,8 @@
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) {