跳至内容
菜单
此问题已终结
1 回复
2235 查看

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

形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
0
12月 23
1246
1
1月 23
2028
1
11月 22
3211
2
7月 22
6958
1
7月 22
3884