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
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscrever-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
0
dez. 23
|
2966 | |||
|
1
jan. 23
|
3791 | |||
|
1
nov. 22
|
5014 | |||
|
2
jul. 22
|
9306 | |||
|
1
jul. 22
|
5596 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.