overrid invoice
							parent
							
								
									053c5613af
								
							
						
					
					
						commit
						42e31b16d5
					
				|  | @ -11,7 +11,7 @@ class AccountInvoice(Model): | |||
|      | ||||
|     #override netforce_account/account_invoice | ||||
|     def post(self,ids,context={}): | ||||
|         print("override ") | ||||
|         print("override post invoice") | ||||
|         t0=time.time() | ||||
|         settings=get_model("settings").browse(1) | ||||
|         for obj in self.browse(ids): | ||||
|  |  | |||
|  | @ -405,7 +405,7 @@ class HDCase(Model): | |||
|                 if not account_id: | ||||
|                     account_id=prod.sale_account_id.id | ||||
|                     if not account_id: | ||||
|                         raise Exception("Please define sale account for product [%s] %s"%(prod.code, prod.name)) | ||||
|                         raise Exception("Please define account for product [%s] %s"%(prod.code, prod.name)) | ||||
|             if line.reimbursable=='yes': | ||||
|                 rmb_lines.append(('create',{ | ||||
|                     "product_id": prod.id, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue