[REF]project_working_time_task_portal
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.2",
|
"version": "16.0.1.0.3",
|
||||||
"author": "Elabore",
|
"author": "Elabore",
|
||||||
"website": "https://elabore.coop",
|
"website": "https://elabore.coop",
|
||||||
"maintainer": "Boris Gallet",
|
"maintainer": "Boris Gallet",
|
||||||
|
@@ -37,6 +37,7 @@ class Task(models.Model):
|
|||||||
string="Subtask Billable Effective Hours",
|
string="Subtask Billable Effective Hours",
|
||||||
store=True,
|
store=True,
|
||||||
compute_sudo=True,
|
compute_sudo=True,
|
||||||
|
recursive=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
@api.depends('timesheet_ids.unit_amount')
|
@api.depends('timesheet_ids.unit_amount')
|
||||||
|
@@ -1,12 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<template id="portal_tasks_list_inherit" inherit_id="project.portal_tasks_list">
|
<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[7]" position="replace">
|
||||||
<xpath expr="//thead/tr/th[last()]" position="before">
|
|
||||||
<th t-if="not is_uom_day" class="text-end">Billable Hours</th>
|
<th t-if="not is_uom_day" class="text-end">Billable Hours</th>
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//tbody/t/tr/td[7]" position="replace"/>
|
<xpath expr="//tbody/t/tr/td[7]" position="replace">
|
||||||
<xpath expr="//tbody/t/tr/td[last()]" position="before">
|
|
||||||
<td class="text-end">
|
<td class="text-end">
|
||||||
<t t-if="not is_uom_day">
|
<t t-if="not is_uom_day">
|
||||||
<span t-field="task.billable_effective_hours"
|
<span t-field="task.billable_effective_hours"
|
||||||
|
Reference in New Issue
Block a user