콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
2808 화면

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

아바타
취소
관련 게시물 답글 화면 활동
0
1월 21
4886
5
9월 24
45326
1
8월 23
1736
0
3월 23
2076
1
9월 24
7012