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

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!

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvc 25
2652
1
led 25
1441
0
kvě 23
2347
3
bře 25
24084
1
lis 22
2283