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 ! =)
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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 ! =)
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
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.
関連投稿 | 返信 | ビュー | 活動 | |
---|---|---|---|---|
|
2
2月 25
|
581 | ||
|
2
6月 24
|
1187 | ||
|
1
6月 24
|
1926 | ||
|
1
8月 23
|
1218 | ||
|
0
7月 23
|
809 |