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
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
0
Des 23
|
2075 | |||
|
Compute if time is Between 00:00 and 07:00.
Diselesaikan
|
1
Jan 23
|
2921 | ||
|
1
Nov 22
|
4122 | |||
|
Odoo 15 - compute method triggered twice every time?
Diselesaikan
|
2
Jul 22
|
8058 | ||
|
1
Jul 22
|
4833 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.