Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4707 Представления

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
3538
1
мар. 15
3829
1
мар. 15
4204
1
июн. 24
1268