Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3497 Представления

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

https://prnt.sc/qe99qz

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
4
сент. 20
9483
0
окт. 23
1598
0
авг. 22
2303
1
июл. 22
20001
0
апр. 22
2973