|  | @ -1048,7 +1048,6 @@ class AccountBankStatementLine(models.Model): | 
			
		
	
		
		
			
				
					|  |  |                 and user_type_id not in account_types |  |  |                 and user_type_id not in account_types | 
			
		
	
		
		
			
				
					|  |  |             ): |  |  |             ): | 
			
		
	
		
		
			
				
					|  |  |                 account_types |= user_type_id |  |  |                 account_types |= user_type_id | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         # Fully reconciled moves are just linked to the bank statement |  |  |         # Fully reconciled moves are just linked to the bank statement | 
			
		
	
		
		
			
				
					|  |  |         total = self.amount |  |  |         total = self.amount | 
			
		
	
		
		
			
				
					|  |  |         currency = self.currency_id or statement_currency |  |  |         currency = self.currency_id or statement_currency | 
			
		
	
	
		
		
			
				
					|  | @ -1112,6 +1111,7 @@ class AccountBankStatementLine(models.Model): | 
			
		
	
		
		
			
				
					|  |  |                 aml_to_reconcile.append((new_aml, counterpart_move_line)) |  |  |                 aml_to_reconcile.append((new_aml, counterpart_move_line)) | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |             # Post to allow reconcile |  |  |             # Post to allow reconcile | 
			
		
	
		
		
			
				
					|  |  |  |  |  |             if self.move_id.state == 'draft': | 
			
		
	
		
		
			
				
					|  |  |                 self.move_id.with_context(skip_account_move_synchronization=True).action_post() |  |  |                 self.move_id.with_context(skip_account_move_synchronization=True).action_post() | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |             # Reconcile new lines with counterpart |  |  |             # Reconcile new lines with counterpart | 
			
		
	
	
		
		
			
				
					|  | @ -1122,6 +1122,7 @@ class AccountBankStatementLine(models.Model): | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |             # Needs to be called manually as lines were created 1 by 1 |  |  |             # Needs to be called manually as lines were created 1 by 1 | 
			
		
	
		
		
			
				
					|  |  |             self.move_id.update_lines_tax_exigibility() |  |  |             self.move_id.update_lines_tax_exigibility() | 
			
		
	
		
		
			
				
					|  |  |  |  |  |             if self.move_id.state == 'draft': | 
			
		
	
		
		
			
				
					|  |  |                 self.move_id.with_context(skip_account_move_synchronization=True).action_post() |  |  |                 self.move_id.with_context(skip_account_move_synchronization=True).action_post() | 
			
		
	
		
		
			
				
					|  |  |             # record the move name on the statement line to be able to retrieve |  |  |             # record the move name on the statement line to be able to retrieve | 
			
		
	
		
		
			
				
					|  |  |             # it in case of unreconciliation |  |  |             # it in case of unreconciliation | 
			
		
	
	
		
		
			
				
					|  | 
 |