summaryrefslogtreecommitdiff
path: root/addons/hr_expense/report
diff options
context:
space:
mode:
authorMansi Gandhi <mag@odoo.com>2017-10-20 13:45:36 +0200
committerJérome Maes <jem@openerp.com>2017-10-23 14:27:21 +0200
commit7ec5f093de10c965b217714fa3f78834f0386b10 (patch)
tree6cda2275a6961374b0b1346adf2e69a343dbbbc8 /addons/hr_expense/report
parent5c77f2c512020ddd0d703570946a3bc6fc3bf8ef (diff)
[IMP] hr_expense: amount in company current in reports
When printing expense report, we want to see the amount in the expense company and its total, to know how much the company have to reimbourse.
Diffstat (limited to 'addons/hr_expense/report')
-rw-r--r--addons/hr_expense/report/report_expense_sheet.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/addons/hr_expense/report/report_expense_sheet.xml b/addons/hr_expense/report/report_expense_sheet.xml
index 1934b7cb64b..375616a8f42 100644
--- a/addons/hr_expense/report/report_expense_sheet.xml
+++ b/addons/hr_expense/report/report_expense_sheet.xml
@@ -40,13 +40,14 @@
<th>Taxes</th>
<th class="text-center">Qty</th>
<th class="text-right">Price</th>
+ <th t-if="o.is_multiple_currency" class="text-right">Price in Company Currency</th>
</tr>
</thead>
<tbody>
<tr t-foreach="o.expense_line_ids" t-as="line">
<td><span t-field="line.date"/></td>
<td>
- <span t-field="line.name"/>
+ <span t-field="line.name"/>
<span t-field="line.description"/><br/>
<span t-field="line.analytic_account_id.name"/>
</td>
@@ -73,6 +74,9 @@
<span t-field="line.total_amount"
t-options='{"widget": "monetary", "display_currency": line.currency_id}'/>
</td>
+ <td t-if="o.is_multiple_currency" class="text-right">
+ <span t-field="line.total_amount_company"/>
+ </td>
</tr>
</tbody>
</table>