Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3154 Tampilan

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
Buang

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

Penulis

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

Penulis

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

Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
0
Jan 22
2430
2
Des 24
994
0
Mar 15
3401
0
Mei 24
822
0
Jun 21
2357