feat: Se implementa agendación de tarea en las vistas, #71
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Camilo Gonzalez 2023-09-19 06:10:09 -05:00
parent c1be04d009
commit d50cca2924
2 changed files with 14 additions and 8 deletions

View File

@ -149,7 +149,7 @@ class MakeCallStart(ModelView):
schedule_task = fields.Selection( schedule_task = fields.Selection(
[('yes', 'Yes'), [('yes', 'Yes'),
('no', 'No')], 'Schedule call?', required=True) ('no', 'No')], 'Schedule task?', required=True)
class MakeCallAsk(ModelView): class MakeCallAsk(ModelView):
@ -171,7 +171,7 @@ class MakeCallAskTask(ModelView):
'Posible agendación de tarea luego de hacer llamada actual' 'Posible agendación de tarea luego de hacer llamada actual'
__name__ = 'sale.prospect_trace.make_call.ask_task' __name__ = 'sale.prospect_trace.make_call.ask_task'
task_description = fields.Text('Description') task_description = fields.Text('Task description')
class MakeCall(Wizard): class MakeCall(Wizard):

View File

@ -2,11 +2,17 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of <!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. --> this repository contains the full copyright notices and license terms. -->
<form> <form>
<label name="description"/> <group col="6" id="description">
<field name="description" colspan="6"/> <label name="description"/>
<field name="description"/>
</group>
<newline/> <newline/>
<label name="interest"/> <group col="6" id="call_data">
<field name="interest"/> <label name="interest"/>
<label name="schedule_call"/> <field name="interest" colspan="1"/>
<field name="schedule_call"/> <label name="schedule_call"/>
<field name="schedule_call" colspan="1"/>
<label name="schedule_task"/>
<field name="schedule_task" colspan="1"/>
</group>
</form> </form>