Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3166 Zobrazení

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
Zrušit

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.

Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
led 22
2438
2
pro 24
1004
0
bře 15
3406
0
kvě 24
825
0
čvn 21
2366