[IMP] crm: harmonize layout of activities reporting button in teams

Purpose:
========
The "Activities" button in the reporting section in the dropdown menu
of teams kanban cards is the only button that has a different layout than
the other buttons in this dropdown, and this layout makes the button
difficult to read when the dark mode is activated.

This commit makes the button have the same look as the other ones, by
removing an unnecessary div wrapping this button, and removing the custom
style attribute.

Task-3137791

closes odoo/odoo#110736

Related: odoo/enterprise#35962
Signed-off-by: Stéphane Debauche (std) <std@odoo.com>
This commit is contained in:
Adrien Schoffeniels
2023-01-26 18:51:10 +01:00
parent f2a64b03e1
commit 5c8312a038
+4 -6
View File
@@ -336,12 +336,10 @@
</xpath>
<xpath expr="//div[hasclass('o_kanban_manage_reports')]/div[@name='o_team_kanban_report_separator']" position="after">
<div name="activity_report">
<div t-if="record.use_opportunities.raw_value">
<a name="%(crm.crm_activity_report_action_team)d" type="action" style="color: #444B5A;">
Activities
</a>
</div>
<div t-if="record.use_opportunities.raw_value">
<a name="%(crm.crm_activity_report_action_team)d" type="action">
Activities
</a>
</div>
</xpath>
</data>