Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3498 Tampilan

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

https://prnt.sc/qe99qz

Avatar
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
4
Sep 20
9484
0
Okt 23
1598
0
Agu 22
2307
1
Jul 22
20003
0
Apr 22
2973