summaryrefslogtreecommitdiff
path: root/addons/sale_crm
diff options
context:
space:
mode:
authorqmo-odoo <qmo@odoo.com>2019-07-30 11:29:52 +0000
committerqmo-odoo <qmo@odoo.com>2019-07-30 11:46:30 +0000
commit0d2be38333d8fe5a4cbef4161ac92cac00e47eb1 (patch)
tree8a6968527d4f9ee2018adf38758e6b83d547fe9a /addons/sale_crm
parent2fe6274bd75894232830cb447bb86e526b3b78d1 (diff)
[IMP] crm,sale,*: Improve UX
This commit improves the ux in CRM by changing a few things: - Restore the use_leads and use_quotations fields along with their features as they were in 12.0. - Hide the email alias if use_upportunities and use_leads are unchecked. - Show a link to the general settings instead of the alias_domain if no alias_domain has been configured. - fixes the "unassigned lead(s)" link so that it redirects the user to the actually unassigned leads Task: #1962182 PR: #32372
Diffstat (limited to 'addons/sale_crm')
-rw-r--r--addons/sale_crm/views/crm_team_views.xml5
1 files changed, 1 insertions, 4 deletions
diff --git a/addons/sale_crm/views/crm_team_views.xml b/addons/sale_crm/views/crm_team_views.xml
index 7cd6d72129c..c3b4089e275 100644
--- a/addons/sale_crm/views/crm_team_views.xml
+++ b/addons/sale_crm/views/crm_team_views.xml
@@ -6,7 +6,7 @@
<field name="inherit_id" ref="crm.sales_team_form_view_in_crm"/>
<field name="arch" type="xml">
<data>
- <xpath expr="//div[@name='opportunities']" position="attributes">
+ <xpath expr="//span[@name='opportunities']" position="attributes">
<attribute name="invisible" value="0"/>
</xpath>
</data>
@@ -17,7 +17,4 @@
<field name="context">{'in_sales_app': True}</field>
</record>
- <record id="sales_team.crm_team_salesteams_pipelines_act" model="ir.actions.act_window">
- <field name="domain">[('use_opportunities', '=', True)]</field>
- </record>
</odoo>