|  | @ -115,6 +115,8 @@ class AccountTax(models.Model): | 
			
		
	
		
		
			
				
					|  |  |             else: |  |  |             else: | 
			
		
	
		
		
			
				
					|  |  |                 total_included += tax_amount |  |  |                 total_included += tax_amount | 
			
		
	
		
		
			
				
					|  |  |              |  |  |              | 
			
		
	
		
		
			
				
					|  |  |  |  |  |             tax_base = base | 
			
		
	
		
		
			
				
					|  |  |  |  |  |              | 
			
		
	
		
		
			
				
					|  |  |             if tax.include_base_amount: |  |  |             if tax.include_base_amount: | 
			
		
	
		
		
			
				
					|  |  |                 base += tax_amount |  |  |                 base += tax_amount | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  | @ -126,6 +128,7 @@ class AccountTax(models.Model): | 
			
		
	
		
		
			
				
					|  |  |                 'account_id': tax.account_id.id, |  |  |                 'account_id': tax.account_id.id, | 
			
		
	
		
		
			
				
					|  |  |                 'refund_account_id': tax.refund_account_id.id, |  |  |                 'refund_account_id': tax.refund_account_id.id, | 
			
		
	
		
		
			
				
					|  |  |                 'analytic': tax.analytic, |  |  |                 'analytic': tax.analytic, | 
			
		
	
		
		
			
				
					|  |  |  |  |  |                 'base': tax_base, | 
			
		
	
		
		
			
				
					|  |  |             }) |  |  |             }) | 
			
		
	
		
		
			
				
					|  |  |         print "total_excluded:",total_excluded |  |  |         print "total_excluded:",total_excluded | 
			
		
	
		
		
			
				
					|  |  |         print "total_included:",total_included |  |  |         print "total_included:",total_included | 
			
		
	
	
		
		
			
				
					|  | 
 |