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
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Dec 23
|
319 | ||
|
1
Jan 23
|
854 | ||
|
1
Nov 22
|
1928 | ||
|
2
Jul 22
|
4920 | ||
|
1
Jul 22
|
2660 |