Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
2934 Tampilan

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
Buang
Jawaban Terbai

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

Avatar
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
0
Jan 21
5072
5
Sep 24
45662
1
Agu 23
1907
0
Mar 23
2281
1
Sep 24
7298