OdooJsonRpcClient icon indicating copy to clipboard operation
OdooJsonRpcClient copied to clipboard

Retrieve archived entries

Open Freddyvdh opened this issue 3 years ago • 3 comments

Hi,

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

Thanks Freddy

Freddyvdh avatar Jun 14 '22 20:06 Freddyvdh

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 ?

manitra avatar Mar 22 '23 09:03 manitra

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

AArmandoPerez avatar Aug 09 '24 18:08 AArmandoPerez

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();

AArmandoPerez avatar Aug 09 '24 18:08 AArmandoPerez