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
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
|
2964 | |||
|
1
1月 23
|
3790 | |||
|
1
11月 22
|
5013 | |||
|
2
7月 22
|
9306 | |||
|
1
7月 22
|
5596 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.