تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3805 أدوات العرض

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
4
أكتوبر 20
9819
0
أكتوبر 23
1929
0
أغسطس 22
2671
1
يوليو 22
20431
0
أبريل 22
3267