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

I want to get "Market" value when I click to my print button.

https://prnt.sc/qe99qz

아바타
취소
베스트 답변

Hi,

Hope the print button calls a python function, if so you can get the value inside the python function using self.field_name .

self.field_name will give you a record like res.market(1,) , from this if you need to get the id or name you can get it like self.field_name.id or self.field_name.name .


See this: Odoo Wizard

Thanks

아바타
취소
관련 게시물 답글 화면 활동
4
9월 20
9542
0
10월 23
1617
0
8월 22
2339
1
7월 22
20026
0
4월 22
2982