Intechnity-com / OdooJsonRpcClient

Odoo Client Json Rpc
MIT License
67 stars 29 forks source link

Retrieve archived entries #42

Open Freddyvdh opened 2 years ago

Freddyvdh commented 2 years ago

Hi,

is it possible to retrieve archived entries ie. users with the RPC client?

Thanks Freddy

manitra commented 1 year ago

Hello @Freddyvdh, On the UI, you can get archived entries by adding a active = false filter. Did you try to do the same using the API ?

AArmandoPerez commented 3 weeks ago

Hello @Freddyvdh, i have same problem you find the solution?

AArmandoPerez commented 3 weeks ago

Hola@FreddyvdhEn la interfaz de usuario, puedes obtener entradas archivadas agregando un active = falsefiltro. ¿Intentaste hacer lo mismo usando la API?

yes but dont work var products = await repository.Query().Where(x => x.Active, OdooOperator.EqualsTo, false).ToListAsync();