account_move_views.xml 691 B

12345678910111213141516
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <odoo>
  3. <template id="custom_rate_report_invoice_document" inherit_id="account.report_invoice_document">
  4. <xpath expr="//div[@name='reference']" position="after">
  5. <div class="col-auto col-3 mw-100 mb-2" t-if="o.currency_id" name="currency">
  6. <strong>Currency:</strong>
  7. <p class="m-0" t-field="o.currency_id"/>
  8. </div>
  9. <div class="col-auto col-3 mw-100 mb-2" t-if="o.rate and o.currency_id.name == 'USD'" name="rate">
  10. <strong>Exchange rate:</strong>
  11. <p class="m-0" t-field="o.rate"/>
  12. </div>
  13. </xpath>
  14. </template>
  15. </odoo>