İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
2764 Görünümler

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
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Oca 21
4823
5
Eyl 24
45221
1
Ağu 23
1673
0
Mar 23
1981
1
Eyl 24
6944