Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3449 มุมมอง

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
9407
0
ต.ค. 23
1522
0
ส.ค. 22
2231
1
ก.ค. 22
19896
0
เม.ย. 22
2890