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

hi

in report we can do this:

<div class="footer">
<div class="row">                                       
<span class="page"/> / <span class="topage"/> 
...

and it will show page numbering for each page: 1/10, 2/10, 3/10 ... 10/10

where I can find processing these classes? for example, I need that class page to contain digit - 1: 0/10, 1/10, 2/10 ... 9/10

and for class topage the same:  1/9, 2/9, 3/9 ... 10/9

and with both:  0/9, 1/9, 2/9 ... 9/9

how to do this?

아바타
취소

How to add page number in Qweb reports in odoo: https://goo.gl/KE96JQ

베스트 답변

Hi,

You can see the page class processing by following steps,

In odoo folder go to addons->web->views->report_template.xml.

In report_template.xml, see template id minimal_layout

아바타
취소
작성자

thanks

베스트 답변

Have you figured it out?

아바타
취소
베스트 답변

Hello, you can try with:

<div class="footer">
<div class="row">
<div class="col-xs-6; text-center">
<span class="page"/>
<span>/</span>
<span class="topage"/>
</div>
</div>
</div>
아바타
취소
작성자

it will print this: 1/10, 2/10, 3/10 ... 10/10

i need this: 0/9, 1/9, 2/9 ... 9/9

작성자

I need to rewrite the handlers of these classes, but I don’t know where to find them

관련 게시물 답글 화면 활동
0
5월 19
4177
1
3월 21
5412
0
7월 24
1039
2
5월 24
2602
0
12월 23
1954