feat: Se crea asistente para agendar próxima llamada
	
		
			
	
		
	
	
		
	
		
			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:
		| @@ -41,7 +41,7 @@ class ProspectTrace(DeactivableMixin, ModelSQL, ModelView): | ||||
|         super(ProspectTrace, cls).__setup__() | ||||
|         cls._buttons.update({ | ||||
|             'wizard_schedule': { | ||||
|                 'invisible': Eval('state') == 'open', | ||||
|                 'invisible': Eval('state') == 'with_pending_calls', | ||||
|                 } | ||||
|         }) | ||||
|  | ||||
| @@ -52,7 +52,7 @@ class ProspectTrace(DeactivableMixin, ModelSQL, ModelView): | ||||
|     @classmethod | ||||
|     @ModelView.button_action( | ||||
|         'sale_opportunity_management.schedule_call_wizard') | ||||
|     def wizard_schedule(): | ||||
|     def wizard_schedule(cls, prospect_traces): | ||||
|         pass | ||||
|  | ||||
|     @fields.depends('calls', 'pending_call', 'current_interest', 'state') | ||||
|   | ||||
| @@ -25,6 +25,9 @@ this repository contains the full copyright notices and license terms. --> | ||||
|         </page> | ||||
|     </notebook> | ||||
|  | ||||
|     <group col="-1" colspan="6" id="buttons"> | ||||
| 	    <button name="wizard_schedule" icon="tryton-calendar"/> | ||||
|     </group>  | ||||
|     <label name="pending_call"/> | ||||
|     <field name="pending_call"/> | ||||
|     <label name="state"/> | ||||
|   | ||||
| @@ -4,5 +4,4 @@ this repository contains the full copyright notices and license terms. --> | ||||
| <form> | ||||
|     <label name="date_time"/> | ||||
|     <field name="date_time"/> | ||||
|     <button name="wizard_schedule" icon="tryton-forward"/> | ||||
| </form> | ||||
		Reference in New Issue
	
	Block a user