Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
2782 Представления

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?

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
янв. 21
4845
5
сент. 24
45239
1
авг. 23
1699
0
мар. 23
2026
1
сент. 24
6981