[FIX] *_timesheet: adapt timesheet report
X-original-commit: ce7df0df6dd41174623fc15552d1faa07b4f9159 Part-of: odoo/odoo#129492
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-end" t-attf-colspan="{{4 + show_project + show_task}}" colspan="6">
|
||||
<td class="text-end" colspan="100">
|
||||
<strong t-if="not is_uom_day">
|
||||
<span style="margin-right: 15px;">Total (Hours)</span>
|
||||
<t t-esc="sum(lines.mapped('unit_amount'))" t-options="{'widget': 'duration', 'digital': True, 'unit': 'hour', 'round': 'minute'}">2 hours</t>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<t t-if="doc.timesheet_ids">
|
||||
<h2>
|
||||
<br/>
|
||||
<span>Timesheets for the <t t-out="doc_name"/> <t t-out="record_name"/>
|
||||
<span>Timesheets for the <t t-out="doc_name">S0001</t> <t t-out="record_name">- Timesheet product</t>
|
||||
</span>
|
||||
</h2>
|
||||
<t t-set='lines' t-value='doc.timesheet_ids'/>
|
||||
|
||||
Reference in New Issue
Block a user