[FIX] hr_timesheet: fix the remaining hours border color

Currently, the remaning hours border is not displayed in the
project kanban view.

so in this commit, added the border class to display the
colored border on project kanban view.

task-3052597

closes odoo/odoo#108440

X-original-commit: 4f6bf04ded020475847212cbbebbfc3f77324799
Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
This commit is contained in:
Barad Mahendra
2022-12-21 19:34:55 +01:00
parent 7702087180
commit 37e9ae0d11
+1 -1
View File
@@ -309,7 +309,7 @@
<t t-set="title" t-value="'Remaining days'" t-if="record.encode_uom_in_days.raw_value"/>
<t t-set="title" t-value="'Remaining hours'" t-else=""/>
<div t-if="record.allow_timesheets.raw_value and record.allocated_hours.raw_value &gt; 0"
t-attf-class="oe_kanban_align badge {{ badgeColor }}" t-att-title="title">
t-attf-class="oe_kanban_align badge border {{ badgeColor }}" t-att-title="title">
<field name="remaining_hours" widget="timesheet_uom"/>
</div>
</xpath>