İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2259 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Ara 23
1281
1
Oca 23
2043
1
Kas 22
3233
2
Tem 22
6973
1
Tem 22
3917