[IMP]project_working_time_task_portal:show only billage hours in portal timesheets

This commit is contained in:
2025-04-16 15:59:29 +02:00
parent 224f69c104
commit 204a6a7647
2 changed files with 6 additions and 2 deletions

View File

@@ -37,8 +37,12 @@
<div t-if="task.planned_hours > 0">Remaining Hours: <span t-field="task.billable_remaining_hours" t-options="{&quot;widget&quot;: &quot;float_time&quot;}"/></div>
</th>
</xpath>
</template>
<template id="portal_my_billables_timesheets" name="My Timesheets: Billable hours" inherit_id="hr_timesheet.portal_my_timesheets" >
<xpath expr="//t[@t-foreach='timesheets']" position="attributes">
<attribute name="t-if">not timesheet.exclude_from_sale_order</attribute>
</xpath>
</template>
<!-- <template id="portal_my_task_subtask_timesheet_table" name="My Task Subtask Timesheet Table: hide not billable" inherit_id="hr_timesheet.portal_subtask_timesheet_tables" priority="40"> -->