fixes: fetching from pos setting
diff --git a/accounts/doctype/sales_invoice/sales_invoice.py b/accounts/doctype/sales_invoice/sales_invoice.py
index 246dada..9b17fc0 100644
--- a/accounts/doctype/sales_invoice/sales_invoice.py
+++ b/accounts/doctype/sales_invoice/sales_invoice.py
@@ -321,9 +321,8 @@
 			dtl = webnotes.conn.sql("""select * from `tabPOS Setting` where user = %s 
 				and company = %s""", (webnotes.session['user'], self.doc.company), as_dict=1)			 
 			if not dtl:
-				dtl = webnotes.conn.sql("""select income_account, warehouse, cost_center, 
-					expense_account from `tabPOS Setting` where ifnull(user,'') = '' 
-					and company = %s""", self.doc.company, as_dict=1)
+				dtl = webnotes.conn.sql("""select * from `tabPOS Setting` 
+					where ifnull(user,'') = '' and company = %s""", self.doc.company, as_dict=1)
 			self._pos_details = dtl
 			
 		return self._pos_details