change unit price to hourly rate

This commit is contained in:
Pawan Kumar 2020-12-11 17:10:40 +05:30
parent 9c406454d3
commit 67d617318c
1 changed files with 1 additions and 3 deletions

View File

@ -263,7 +263,7 @@
<tr>
<th></th>
<th>Employee</th>
<th>Unit Price</th>
<th>Hourly Rate</th>
<th t-if="is_uom_day" class="text-nowrap text-right pr-5">Days Spent</th>
<th t-else="" class="text-nowrap text-right pr-5">Hours Spent</th>
<td>
@ -306,9 +306,7 @@
</a>
</td>
<td style="width: 15%; vertical-align: middle;" >
<a type="action" data-model="account.analytic.line" t-att-data-domain="json.dumps(timesheet_domain)" t-att-data-context="json.dumps({'search_default_employee_price': employee_price})" data-views="[[0, &quot;list&quot;]]" tabindex="-1">
<t t-esc="employee['employee_price']"/>
</a>
</td>
<td class="text-right pr-5" style="width: 10%; vertical-align: middle;">
<t t-if="is_uom_day" t-esc="employee['total']" t-options="{'widget': 'timesheet_uom'}"/>