[IMP]project_working_time_task_portal:show only billage hours in portal timesheets
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"name": "project_working_time_task_portal",
|
"name": "project_working_time_task_portal",
|
||||||
"version": "16.0.1.0.1",
|
"version": "16.0.1.0.2",
|
||||||
"author": "Elabore",
|
"author": "Elabore",
|
||||||
"website": "https://elabore.coop",
|
"website": "https://elabore.coop",
|
||||||
"maintainer": "Boris Gallet",
|
"maintainer": "Boris Gallet",
|
||||||
|
@@ -37,8 +37,12 @@
|
|||||||
<div t-if="task.planned_hours > 0">Remaining Hours: <span t-field="task.billable_remaining_hours" t-options="{"widget": "float_time"}"/></div>
|
<div t-if="task.planned_hours > 0">Remaining Hours: <span t-field="task.billable_remaining_hours" t-options="{"widget": "float_time"}"/></div>
|
||||||
</th>
|
</th>
|
||||||
</xpath>
|
</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>
|
||||||
|
|
||||||
<!-- <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"> -->
|
<!-- <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"> -->
|
||||||
|
Reference in New Issue
Block a user