Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3468 Weergaven

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

https://prnt.sc/qe99qz

Avatar
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
4
sep. 20
9437
0
okt. 23
1555
0
aug. 22
2269
1
jul. 22
19942
0
apr. 22
2915