Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3556 Zobrazení

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
Zrušit

show the logger?

Related Posts Odpovědi Zobrazení Aktivita
1
srp 19
4983
9
říj 19
28702
0
bře 25
1193
1
říj 22
3544
2
čvc 22
9043