Use of boolean "OR" in search bar

I wonder if it was possible to use the boolean “OR” in the search bar.

My use case is the following: I want to search for account in General Ledger which have an amount in Credit or Debit column.

Writing this statement in search bar (Crédit: !0) (Débit: !0) return all the account where the credit’s amount AND the Debit’s amount is not equal to zero. This filter out all lines where the credit’s amount is not equal to zero but the debit’s amount is equal to zero, or vice versa. But this is not what I want.

Is there a special keyword to use between different parts of the search bar ?

Yes you can by using the ‘or’ operator, see Client Usage — tryton 5.3 documentation

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.