تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
6161 أدوات العرض

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
مايو 19
4070
1
مارس 21
5325
0
يوليو 24
965
2
مايو 24
2443
0
ديسمبر 23
1873