Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3429 Zobrazení

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

https://prnt.sc/qe99qz

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
4
zář 20
9360
0
říj 23
1494
0
srp 22
2192
1
čvc 22
19848
0
dub 22
2857