[FIX] hr_expense: report in various currencies

Displays the total amount of an expense report as displayed in the PDF
report.

opw-783620
This commit is contained in:
Nicolas Martinelli
2017-11-27 10:04:04 +01:00
committed by Nicolas Martinelli
parent 61b3455b96
commit 3643cc0a42
+6 -1
View File
@@ -465,9 +465,14 @@
<field name="attachment_number" string=" "/>
<button name="action_get_attachment_view" string="View Attachments" type="object" icon="fa-paperclip"/>
<field name="tax_ids" widget="many2many_tags"/>
<field name="total_amount" sum="Total Amount" widget="monetary"/>
<field name="total_amount" widget="monetary"/>
</tree>
</field>
<group>
<group class="oe_subtotal_footer oe_right" colspan="2" name="expense_total">
<field name="total_amount" widget='monetary' options="{'currency_field': 'currency_id'}"/>
</group>
</group>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/>