Skip to Content
Menu
This question has been flagged
1 Atsakyti
3617 Rodiniai

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.

Portretas
Atmesti

show the logger?

Related Posts Replies Rodiniai Veikla
1
rugp. 19
5120
9
spal. 19
28856
0
kov. 25
1394
1
spal. 22
3701
2
liep. 22
9219