Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
2752 Zobrazení

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
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
led 21
4819
5
zář 24
45211
1
srp 23
1666
0
bře 23
1971
1
zář 24
6940