Hi @Edujugon, first, thanks for your package which is giving me great help for Odoo API requests !
I was wondering if there was a way to execute a a statement like that with the Odoo API :
(new Odoo)->connect()
->where('tag_ids', [1])
->orWhere('tags_ids, [2])
->get('crm.leads');
In fact, if we put several tag ids in one and only ->where() statement, it behaves like a where and where and not where or where.
I imagine this is possible but I couldn't manage to find the information.
Hi @Edujugon, first, thanks for your package which is giving me great help for Odoo API requests !
I was wondering if there was a way to execute a a statement like that with the Odoo API :
In fact, if we put several tag ids in one and only
->where()
statement, it behaves like awhere and where
and notwhere or where
.I imagine this is possible but I couldn't manage to find the information.
Thanks by advance for your reply !