Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3718 Переглядів

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!

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
лип. 25
2655
1
січ. 25
1445
0
трав. 23
2352
3
бер. 25
24097
1
лист. 22
2284