콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
4176 화면

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
1093
1
7월 25
2560
3
2월 24
34114
1
7월 25
131
2
11월 24
1515