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

Hello,

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

[[repeatIn(my_bool_function(objects),'line')]]

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 !

Related Posts Відповіді Переглядів Дія
1
бер. 15
3691
0
бер. 15
3026
1
бер. 15
3391
1
бер. 15
3846
1
черв. 24
735