コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
4084 ビュー

I want to edit the template for invoices.

First I have edit the report xml template over settings

Now I'm looking for the xms template for invoices to customize it, but I can not find it in odoo v17?

I thought this should be under addons/sale/report/sale_report_template.xml?

 

アバター
破棄
著作者 最善の回答

thx - i have found the file now:

+ I just add a simple "Hello world" to the file and saved it on line 260 (before Payment Communication)

+ When I create an invoice the "Hello World" is not shown?

do i have to click somewhere that the file is live?


アバター
破棄
最善の回答

Navigate to Settings --> Technical --> Actions --> Reports (in Developer Mode) to see each Report

The main Invoices report has the template name "account.report_invoice_with_payments" which means it is defined in the account module.

You can find the XML at addons/account/views/report_invoice.xml


アバター
破棄
最善の回答

Hi,

You can find the invoice template in the following path:  /odoo/addons/account/views/report_invoice.xml

name of the template:  report_invoice_document

* To find the template of any report, you can do as follows
* activate the developer mode
* navigate to Reports menu under settings -> technical
* search and open the report
* by clicking the Qweb Views smart button, you can see the templates used



Thanks

アバター
破棄
関連投稿 返信 ビュー 活動
0
1月 25
1055
1
5月 24
2489
3
2月 24
33959
2
11月 24
1457
0
1月 24
1472