Odoo Help


Is it possible to have a boolean function in a loop (repeatIn) in reports ?

on 5/2/13, 4:19 PM 1,542 views


All is in the question, I would like to execute a loop based on the result of one of my boolean python function...

I tried this :

[[ repeatIn(filter( lambda a: my_bool_function(a) , objects), 'a') ]]

and this


but it didn't work... Any ideas ??

Thank you !


repeatln is normally on a list of items which makes it possible to also show data from these lines, e.g. invoice or sales order lines. A possible path might be to create a Python function which returns a list instead.

Thank you, it works !

on 5/6/13, 3:26 PM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 5/2/13, 4:19 PM
Seen: 1542 times
Last updated: 3/16/15, 8:10 AM