I want to get "Market" value when I click to my print button.
https://prnt.sc/qe99qz
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
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|
4
syysk. 20
|
11294 | |||
|
0
lokak. 23
|
3375 | |||
|
0
elok. 22
|
4616 | |||
|
1
heinäk. 22
|
22816 | |||
|
0
huhtik. 22
|
4920 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.