İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
3233 Görünümler

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
Vazgeç

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

Üretici

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

Üretici

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

En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Oca 22
2508
2
Ara 24
1104
0
Mar 15
3489
0
May 24
892
0
Haz 21
2440