Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
8860 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
toukok. 24
4451
1
heinäk. 25
1766
1
toukok. 25
1836
1
huhtik. 25
2330
1
helmik. 25
1604