İçereği Atla
Menü
This question has been flagged
1 Cevapla
7688 Görünümler

I have a function in python wich returns an array like this [[code,value1,value2...],[code,value1,value2].....]  them i call the function  in a xml which geberate a report. my question is how can i loop the array i want in each line of the table show the values of the items in the array

part of the code in the xml but it gives me an out of range error

regards


    
        
            
        
        
            
        
Avatar
Vazgeç
Best Answer

Hi,

Try refer the following blog which will help you to perform looping in xml for report.

https://www.cybrosys.com/blog/conditional-and-looping-in-qweb-templates


Hope it helps

Avatar
Vazgeç
Related Posts Cevaplar Görünümler Aktivite
2
May 24
3903
1
May 25
476
1
Nis 25
1605
1
Şub 25
662
0
Nis 25
748