Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4667 Zobrazení

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 !

Avatar
Zrušit
Nejlepší odpověď

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.

Avatar
Zrušit
Autor

Thank you, it works !

Related Posts Odpovědi Zobrazení Aktivita
1
bře 15
3691
0
bře 15
3478
1
bře 15
3799
1
bře 15
4191
1
čvn 24
1261