fix: Si no se han creado llamadas al prospecto se rompe la transacción en _get_current_interest
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				ci/woodpecker/push/woodpecker Pipeline was successful
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	ci/woodpecker/push/woodpecker Pipeline was successful
				
			This commit is contained in:
		@@ -29,4 +29,5 @@ class ProspectTrace(ModelSQL, ModelView):
 | 
				
			|||||||
            self.prospect_city = self.prospect.city
 | 
					            self.prospect_city = self.prospect.city
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def _get_current_interest(self, name):
 | 
					    def _get_current_interest(self, name):
 | 
				
			||||||
        return self.calls[-1].interest
 | 
					        if self.calls:
 | 
				
			||||||
 | 
					            return self.calls[-1].interest
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user