Skip to Content
मेन्यू
This question has been flagged
1 Reply
3572 Views

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

https://prnt.sc/qe99qz

Avatar
Discard
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
Discard
Related Posts Replies Views Activity
4
सित॰ 20
9560
0
अक्तू॰ 23
1655
0
अग॰ 22
2379
1
जुल॰ 22
20072
0
अप्रैल 22
3049