[REF]project_working_time_task_portal
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
{
|
||||
"name": "project_working_time_task_portal",
|
||||
"version": "16.0.1.0.2",
|
||||
"version": "16.0.1.0.3",
|
||||
"author": "Elabore",
|
||||
"website": "https://elabore.coop",
|
||||
"maintainer": "Boris Gallet",
|
||||
|
@@ -37,6 +37,7 @@ class Task(models.Model):
|
||||
string="Subtask Billable Effective Hours",
|
||||
store=True,
|
||||
compute_sudo=True,
|
||||
recursive=True,
|
||||
)
|
||||
|
||||
@api.depends('timesheet_ids.unit_amount')
|
||||
|
@@ -1,12 +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"/>
|
||||
<xpath expr="//thead/tr/th[last()]" position="before">
|
||||
<xpath expr="//thead/tr/th[7]" position="replace">
|
||||
<th t-if="not is_uom_day" class="text-end">Billable Hours</th>
|
||||
</xpath>
|
||||
<xpath expr="//tbody/t/tr/td[7]" position="replace"/>
|
||||
<xpath expr="//tbody/t/tr/td[last()]" position="before">
|
||||
<xpath expr="//tbody/t/tr/td[7]" position="replace">
|
||||
<td class="text-end">
|
||||
<t t-if="not is_uom_day">
|
||||
<span t-field="task.billable_effective_hours"
|
||||
|
Reference in New Issue
Block a user