Merge branch 'pawan_branch' into 'development'

change unit price to hourly rate

See merge request prakash.jain/cor-odoo!4
This commit is contained in:
pawan.sharma 2020-12-11 03:41:47 -08:00
commit de7abdc17e
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'}"/>