Skip to Content
Menú
This question has been flagged
1 Respondre
3733 Vistes

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

https://prnt.sc/qe99qz

Avatar
Descartar
Best Answer

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
Descartar
Related Posts Respostes Vistes Activitat
4
de set. 20
9755
0
d’oct. 23
1849
0
d’ag. 22
2573
1
de jul. 22
20338
0
d’abr. 22
3189