Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
3473 Visualizações

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

https://prnt.sc/qe99qz

Avatar
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
4
set. 20
9442
0
out. 23
1562
0
ago. 22
2272
1
jul. 22
19947
0
abr. 22
2918