Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
8004 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
mag 24
4055
1
mag 25
891
1
apr 25
1844
1
feb 25
1027
0
apr 25
1095