Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
4226 Vizualizări

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 !

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Autor

Thank you, it works !

Related Posts Răspunsuri Vizualizări Activitate
1
mar. 15
3691
0
mar. 15
3026
1
mar. 15
3393
1
mar. 15
3848
1
iun. 24
739