Merge branch 'master' into edge
This commit is contained in:
		
						commit
						511902fc97
					
				| @ -321,9 +321,8 @@ class DocType(SellingController): | ||||
| 			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 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user