Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
8874 Переглядів

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


    
        
            
        
        
            
        
Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
трав. 24
4455
1
лип. 25
1778
1
трав. 25
1860
1
квіт. 25
2333
1
лют. 25
1615