İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
3768 Görünümler

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

https://prnt.sc/qe99qz

Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
4
Eki 20
9769
0
Eki 23
1888
0
Ağu 22
2607
1
Tem 22
20398
0
Nis 22
3224