Skip to content
Snippets Groups Projects
Commit 250809a2 authored by Kevin Baptiste's avatar Kevin Baptiste
Browse files

[FIX] hr(_timesheet): fix department kanban dropdown


The "Reporting" title was not properly displayed (stuck to the left of
the dropdown) and the Timesheets entry was not displayed as a proper
dropdown item.

task-3001445

closes odoo/odoo#101744

Signed-off-by: default avatarKevin Baptiste <kba@odoo.com>
parent 471924c0
Branches
Tags
No related merge requests found
......@@ -104,9 +104,9 @@
</div>
<div class="o_kanban_card_manage_pane dropdown-menu" role="menu">
<div class="o_kanban_card_manage_section">
<div role="menuitem" class="o_kanban_card_manage_section o_kanban_manage_reports">
<div class="o_kanban_card_manage_title">
<strong><span>Reporting</span></strong>
<div role="menuitem" class="o_kanban_manage_reports">
<div class="o_kanban_card_manage_title ps-4 pb-1">
<span class="fw-bolder">Reporting</span>
</div>
</div>
</div>
......
......@@ -51,7 +51,7 @@
<data>
<xpath expr="//div[hasclass('o_kanban_manage_reports')]" position="inside">
<a name="%(act_hr_timesheet_report)d" type="action"
groups="hr_timesheet.group_timesheet_manager"
groups="hr_timesheet.group_timesheet_manager" class="dropdown-item"
context="{ 'search_default_department_id': [active_id], 'default_department_id': active_id}">
Timesheets
</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment