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
8488 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
kvě 24
4281
1
kvě 25
1446
1
dub 25
2127
1
úno 25
1422
0
dub 25
1434