Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
2294 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
0
déc. 23
1306
1
janv. 23
2077
1
nov. 22
3271
2
juil. 22
7009
1
juil. 22
3969