feat: Se agregan campos a vistas de llamada, prospecto y seguimiento de prospecto
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Camilo Gonzalez 2023-08-06 22:49:36 -05:00
parent f7cc481673
commit a6b53dd021
7 changed files with 33 additions and 12 deletions

View File

@ -17,7 +17,7 @@ class ProspectTrace(ModelSQL, ModelView):
calls = fields.One2Many('sale.call', 'prospect_trace', "Calls")
_interest_field_type = fields.Selection(
Interest.get_interest_levels(), 'Interest')
Interest.get_interest_levels(), 'Current interest')
current_interest = fields.Function(
_interest_field_type, '_get_current_interest')

View File

@ -7,6 +7,15 @@ this repository contains the full copyright notices and license terms. -->
<label name="prospect_trace"/>
<field name="prospect_trace"/>
<label name="interest"/>
<field name="interest"/>
<label name="call_type"/>
<field name="call_type"/>
<label name="call_result"/>
<field name="call_result"/>
<label name="description"/>
<field name="description"/>

View File

@ -3,6 +3,9 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="date"/>
<field name="description"/>
<field name="interest" expand="1"/>
<field name="call_type" expand="1"/>
<field name="call_result" expand="1"/>
<field name="prospect_trace"/>
<field name="description" expand="1"/>
</tree>

View File

@ -2,7 +2,7 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="contact_type"/>
<field name="value"/>
<field name="prospect"/>
<field name="contact_type" expand="1"/>
<field name="value" expand="1"/>
<field name="prospect" expand="1"/>
</tree>

View File

@ -11,6 +11,13 @@ this repository contains the full copyright notices and license terms. -->
<label name="prospect_city"/>
<field name="prospect_city"/>
<label name="calls"/>
<field name="calls"/>
<label name="current_interest"/>
<field name="current_interest"/>
<newline/>
<notebook colspan="6">
<page string="Calls" id="calls">
<field name="calls" colspan="2"/>
</page>
</notebook>
</form>

View File

@ -3,6 +3,8 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="prospect"/>
<field name="prospect_contact"/>
<field name="prospect_city"/>
<field name="prospect_contact" expand="1"/>
<field name="prospect_city" expand="1"/>
<field name="current_interest" expand="1"/>
<field name="calls" expand="1"/>
</tree>

View File

@ -3,7 +3,7 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="name" expand="1"/>
<field name="department"/>
<field name="city"/>
<field name="contact_methods"/>
<field name="department" expand="1"/>
<field name="city" expand="1"/>
<field name="contact_methods" expand="1"/>
</tree>