Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
4804 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Auteur

Thank you, it works !

Gerelateerde posts Antwoorden Weergaven Activiteit
1
mrt. 15
3691
0
mrt. 15
3598
1
mrt. 15
3897
1
mrt. 15
4265
1
jun. 24
1344