Skip to Content
Menú
This question has been flagged
1 Respondre
3526 Vistes

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.

Avatar
Descartar

show the logger?

Related Posts Respostes Vistes Activitat
1
d’ag. 19
4913
9
d’oct. 19
28591
0
de març 25
1160
1
d’oct. 22
3486
2
de jul. 22
8990