Skip to Content
Menu
This question has been flagged
2 Replies
1789 Views

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?

Avatar
Discard
Best Answer

Please use search method in odoo orm: https://www.youtube.com/watch?v=8V-uOG8KkKA

Avatar
Discard
Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
0
Jan 21
3657
5
Sep 24
42721
1
Aug 23
796
0
Mar 23
909
1
Sep 24
5194