Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3508 Widoki

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

https://prnt.sc/qe99qz

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
4
wrz 20
9486
0
paź 23
1599
0
sie 22
2316
1
lip 22
20005
0
kwi 22
2973