chore: Se asignan atributos pendientes en las vistas
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:
parent
c1df0de713
commit
a714f4740d
@ -4,7 +4,7 @@ this repository contains the full copyright notices and license terms. -->
|
|||||||
<tryton>
|
<tryton>
|
||||||
<data>
|
<data>
|
||||||
<record model="ir.action.act_window" id="act_pending_call_tree">
|
<record model="ir.action.act_window" id="act_pending_call_tree">
|
||||||
<field name="name">Pending pending_call</field>
|
<field name="name">Pending calls</field>
|
||||||
<field name="res_model">sale.pending_call</field>
|
<field name="res_model">sale.pending_call</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@ from trytond.pyson import Eval, If
|
|||||||
class Prospect(ModelSQL, ModelView):
|
class Prospect(ModelSQL, ModelView):
|
||||||
'Prospecto'
|
'Prospecto'
|
||||||
__name__ = 'sale.prospect'
|
__name__ = 'sale.prospect'
|
||||||
|
_rec_name = 'name'
|
||||||
|
|
||||||
name = fields.Char('Name')
|
name = fields.Char('Name')
|
||||||
|
|
||||||
|
@ -6,7 +6,6 @@ from .selections.interest import Interest
|
|||||||
|
|
||||||
class ProspectTrace(ModelSQL, ModelView):
|
class ProspectTrace(ModelSQL, ModelView):
|
||||||
'Seguimiento de un prospecto'
|
'Seguimiento de un prospecto'
|
||||||
|
|
||||||
__name__ = 'sale.prospect_trace'
|
__name__ = 'sale.prospect_trace'
|
||||||
|
|
||||||
prospect = fields.Many2One('sale.prospect', 'Prospect')
|
prospect = fields.Many2One('sale.prospect', 'Prospect')
|
||||||
@ -23,6 +22,10 @@ class ProspectTrace(ModelSQL, ModelView):
|
|||||||
current_interest = fields.Function(
|
current_interest = fields.Function(
|
||||||
_interest_field_type, '_get_current_interest')
|
_interest_field_type, '_get_current_interest')
|
||||||
|
|
||||||
|
def get_rec_name(self, name):
|
||||||
|
if self.prospect:
|
||||||
|
return '[' + self.id + '] ' + self.prospect.name
|
||||||
|
|
||||||
@fields.depends('prospect')
|
@fields.depends('prospect')
|
||||||
def on_change_prospect(self):
|
def on_change_prospect(self):
|
||||||
if self.prospect:
|
if self.prospect:
|
||||||
|
@ -71,6 +71,8 @@ Verificar estado final de creación de prospecto::
|
|||||||
------------------------------------
|
------------------------------------
|
||||||
Asignación de prospectos a operarios
|
Asignación de prospectos a operarios
|
||||||
------------------------------------
|
------------------------------------
|
||||||
|
**Como administrador, quiero poder asignar diferentes seguimientos de prospectos a diferentes operarios, para dividir el trabajo de una manera efectiva y que cada operario tenga sus propias llamadas y que no se mezcle con las de los demás**
|
||||||
|
|
||||||
TODO
|
TODO
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
<!-- 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. -->
|
||||||
<tree>
|
<tree>
|
||||||
<field name="date"/>
|
<field name="date" expand="1"/>
|
||||||
<field name="interest" expand="1"/>
|
<field name="interest" expand="1"/>
|
||||||
<field name="call_type" expand="1"/>
|
<field name="call_type" expand="1"/>
|
||||||
<field name="call_result" expand="1"/>
|
<field name="call_result" expand="1"/>
|
||||||
<field name="prospect_trace"/>
|
<field name="prospect_trace" expand="1"/>
|
||||||
<field name="description" expand="1"/>
|
<field name="description" expand="1"/>
|
||||||
</tree>
|
</tree>
|
@ -2,6 +2,6 @@
|
|||||||
<!-- 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. -->
|
||||||
<tree>
|
<tree>
|
||||||
<field name="date"/>
|
<field name="date" expand="1"/>
|
||||||
<field name="prospect_trace"/>
|
<field name="prospect_trace" expand="1"/>
|
||||||
</tree>
|
</tree>
|
Loading…
Reference in New Issue
Block a user