콘텐츠로 건너뛰기
메뉴
신고된 질문입니다
2 답글
3265 화면

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

아바타
취소
베스트 답변

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


아바타
취소

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
582
2
6월 24
1188
1
6월 24
1932
1
8월 23
1221
0
7월 23
810