I have to get the value from a tree view with code
For example I have 3 columns (Rule, ID, Total) and I have to get the value of total where the ID is "Basic"
How can I do that?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I have to get the value from a tree view with code
For example I have 3 columns (Rule, ID, Total) and I have to get the value of total where the ID is "Basic"
How can I do that?
Please use search method in odoo orm: https://www.youtube.com/watch?v=8V-uOG8KkKA
Hello,
You can access that value from the browsable object of that model and if you want to get total value in same model then you can get that value by self.field_name
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 1 21
|
4822 | ||
|
5
thg 9 24
|
45218 | ||
|
1
thg 8 23
|
1669 | ||
|
0
thg 3 23
|
1979 | ||
|
1
thg 9 24
|
6942 |