[IMP] crm: clarify kanban view

This commit will put more emphasis on both the revenue and the contact
attached to the opportunity.

Task ID 2240258

closes odoo/odoo#49773

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
Nasreddin (bon)
2020-04-27 08:35:38 +00:00
committed by Thibault Delavallée
parent a06a35b238
commit e95063f2ee
+9 -6
View File
@@ -498,16 +498,19 @@
</div>
</div>
<div class="oe_kanban_content">
<div>
<strong class="o_kanban_record_title"><field name="name"/></strong>
<div class="o_kanban_record_title">
<strong><field name="name"/></strong>
</div>
<div class="o_kanban_record_subtitle">
<t t-if="record.planned_revenue.raw_value">
<field name="planned_revenue" widget="monetary" options="{'currency_field': 'company_currency'}"/>
<span t-if="record.partner_id.value"> - </span>
</t>
<span t-if="record.partner_id.value" t-esc="record.partner_id.value"></span>
</div>
<div>
<field name="tag_ids" widget="many2many_tags" options="{'color_field': 'color'}"/>
</div>
<div class="text-muted o_kanban_record_subtitle">
<t t-if="record.planned_revenue.raw_value"><field name="planned_revenue" widget="monetary" options="{'currency_field': 'company_currency'}"/><span t-if="record.partner_id.value">,</span></t> <span t-if="record.partner_id.value"> <t t-esc="record.partner_id.value"/></span>
</div>
<div class="o_kanban_record_bottom">
<div class="oe_kanban_bottom_left">
<field name="priority" widget="priority" groups="base.group_user"/>