コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4702 ビュー

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 !

関連投稿 返信 ビュー 活動
1
3月 15
3691
0
3月 15
3527
1
3月 15
3827
1
3月 15
4201
1
6月 24
1263