跳至內容
選單
此問題已被標幟
1 回覆
3504 瀏覽次數

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
9486
0
10月 23
1599
0
8月 22
2312
1
7月 22
20005
0
4月 22
2973