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

Hi everyone, 

I know that in order to pass default search conditions to tree view (for example), you can pass context like this one

context: {"search_default_transfers_filter": 1, "search_default_journal_id": 25}


It will create the following condition: (transfers_filter=True AND journal_id=25)

The question is:

how do I pass OR condition in context?

I need result condition to be like this: (transfers_filter=True AND (journal_id=25 OR destination_journal_id=25))


Thanks!

アバター
破棄
関連投稿 返信 ビュー 活動
1
7月 25
2654
1
1月 25
1443
0
5月 23
2349
3
3月 25
24088
1
11月 22
2283