I want to get "Market" value when I click to my print button.
https://prnt.sc/qe99qz
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
Create an account today to enjoy exclusive features and engage with our awesome community!
РеєстраціяRelated Posts | Відповіді | Переглядів | Дія | |
---|---|---|---|---|
|
4
вер. 20
|
9549 | ||
|
0
жовт. 23
|
1645 | ||
|
0
серп. 22
|
2364 | ||
|
1
лип. 22
|
20057 | ||
|
0
квіт. 22
|
3035 |