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

Hi All,

I have 3 fields like below


field_a = fields.Selection([('mobile', "Mobile"), ('tab', "Tablet")])

mobile = fields.Boolean(default=True, track_visibility='always')

tab = fields.Boolean(default=True, track_visibility='always')

In Xml

<field name='field_a' widget='radio'/>

<field name='mobile' attrs="{'invisible': [('field_a', '=', 'tab')]}"/>

<field name='tab' attrs="{'invisible': [('field_a', '=', 'mobile')]}"/>


In Logger, It displaying like below

field_a: tab

mobile: true

tab: true


I want to show the logger based on field visibility. Is this possible?


Thanks in Advance.

الصورة الرمزية
إهمال

show the logger?

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أغسطس 19
5099
9
أكتوبر 19
28794
0
مارس 25
1371
1
أكتوبر 22
3671
2
يوليو 22
9182