Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
3156 Vistas

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
Descartar
Mejor respuesta

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

Avatar
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
ene 21
5435
5
sept 24
46095
1
ago 23
2115
0
mar 23
2506
1
sept 24
7575