Skip to Content
मेन्यू
This question has been flagged
2 Replies
5828 Views

Hi folks, 


On Odoo 17,

I would like to know how to show bank informations on invoices.


IBAN

SWIFT/BIC


Is there any "how to" do this ?


Thanks ! =)


Avatar
Discard
Best Answer

Hi,

The items displayed on the invoice are specified in the report_invoice_document template from the account module: https://github.com/odoo/odoo/blob/17.0/addons/account/views/report_invoice.xml

So you would need to extend this template to add your account details.

<template id="invoice_report_view_bank_details" inherit_id="account.report_invoice_document">

<xpath expr="//div[hasclass('clearfix')]" position="after">

<dl id="bank_account" t-foreach="doc.company_id.bank_ids" t-as="ba" class="dl-horizontal text-muted">

<dt>Bank:</dt>

<dd><span t-field="ba.bank_id.name"/></dd>

  </dl>

</xpath>

</template>



Regards

Avatar
Discard
Best Answer

See https://www.odoo.com/documentation/17.0/applications/finance/accounting/get_started.html?highlight=invoice%20layout#invoice-layout


Avatar
Discard

Also I've been testing with the demo database in Odoo17 and it is shown by default, and not using the workaround that Ray proposes.

Related Posts Replies Views Activity
2
फ़र॰ 25
2550
2
जून 24
3130
1
जून 24
4312
1
अग॰ 23
3451
0
जुल॰ 23
1678