Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
2372 Visninger

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
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
dec. 23
1355
1
jan. 23
2155
1
nov. 22
3352
2
jul. 22
7113
1
jul. 22
4052