コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3512 ビュー

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
9497
0
10月 23
1606
0
8月 22
2322
1
7月 22
20009
0
4月 22
2975