Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2288 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
0
Des 23
1305
1
Jan 23
2075
1
Nov 22
3269
2
Jul 22
7003
1
Jul 22
3968