[FIX] project_working_time_task_portal: correction on portal task list display of billable hours

This commit is contained in:
Stéphan Sainléger
2026-05-19 14:50:15 +02:00
parent 1664bb043a
commit 849d44ffb3

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="portal_tasks_list_inherit" inherit_id="project.portal_tasks_list">
<xpath expr="//thead/tr/th[7]" position="replace">
<th t-if="not is_uom_day" class="text-end">Billable Hours</th>
<xpath expr="//thead/tr" position="inside">
<th t-if="not is_uom_day">Billable Hours</th>
</xpath>
<xpath expr="//tbody/t/tr/td[7]" position="replace">
<xpath expr="//tbody/t/tr" position="inside">
<td class="text-end">
<t t-if="not is_uom_day">
<span t-field="task.billable_effective_hours"