Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4811 Vistas

I want to fetch the list of products to my java application using xmlRpc. and i want to filter them by __last_update field. I tried this but still all the products are fetched.

Object[] ids = (Object[]) xmlRpcClient.execute("execute_kw",
asList(db, uid, password, "product_product", "search",
asList(asList(asList("__last_update", ">", "20200823T14:08:55")))));

So what is the best way to acheive my goal?
Thank you

Avatar
Descartar

thanks for your answer, 

Mejor respuesta

"__last_update" field is a compute field and it does not store in database hence you cannot use this field to filter any records and is mostly used to check the concurrency.

Better to use "write_date" instead of this.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
ago 17
14119
2
abr 15
15906
1
jul 25
1437
2
mar 15
10839
1
jul 23
3078