Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3722 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
lug 25
2656
1
gen 25
1447
0
mag 23
2352
3
mar 25
24102
1
nov 22
2286