[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#102351 X-original-commit: 250809a201386cfb1d2ba52d3911bd765a2c910a Signed-off-by: Kevin Baptiste <kba@odoo.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user