Skip to Content
Menú
This question has been flagged
1 Respondre
3165 Vistes

Hello,


I want to add a float field to enter how many timesprint the order in the same page of report. 

For example:

if in the field I enter 10. Then, it will repeat the same order line 10 times in the report.


https://docs.google.com/document/d/1dkHR9H7hS4oHoUP0vK9UNbofZOlnibU1XSV8aklPiVU/edit

Avatar
Descartar

Hello, asma@alhadargroup.com

First of all you have shared one link for details but due to security access we are not able to access it. also that field you told is it in the main form or in the order line ? please share more details so we can help you out.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Autor

Fot]r the field its in the main form.

The link I drew the report *if we wrote 10 in the field.

Report

Order1
Order1
Order1
Order1
Order1
Order1
Order1
Order1
Order1
Order1

Autor

I will send the link to your email as I couldn't make it public.

Best Answer

Hello, you can use foe loop with your field range and under your loop you can add your order line by this way you can get above mentioned result.

for example :

for in in range(your_field):

Note : This is python example you can make it is with q-web compatible.


Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de gen. 22
2432
2
de des. 24
1001
0
de març 15
3403
0
de maig 24
825
0
de juny 21
2365