Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2217 Vistas

Hey,

I need to compute my available_qty

I would like to search in my db, all the records with the state 'ongoing' so that i could make my calcul, if some one have an idea and can help me ?



Thx a lot

Avatar
Descartar
Mejor respuesta

Hello Ugo Di Zenzo

You can search in your compute method like
self.env["object.name"].search([("state", "=", "ongoing")])

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
dic 23
1239
1
ene 23
2025
1
nov 22
3204
2
jul 22
6933
1
jul 22
3872