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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
|
0
gru 23
|
1794 | ||
|
Compute if time is Between 00:00 and 07:00.
Rozwiązane
|
|
1
sty 23
|
2597 | |
|
|
1
lis 22
|
3796 | ||
|
|
2
lip 22
|
7625 | ||
|
|
1
lip 22
|
4478 |