Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3505 Visualizzazioni

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

https://prnt.sc/qe99qz

Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
4
set 20
9486
0
ott 23
1599
0
ago 22
2312
1
lug 22
20005
0
apr 22
2973