跳至內容
選單
此問題已被標幟
1 回覆
8819 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
5月 24
4432
1
7月 25
1735
1
5月 25
1746
1
4月 25
2300
1
2月 25
1577