Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3593 Visualizzazioni

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
Abbandona

show the logger?

Post correlati Risposte Visualizzazioni Attività
1
ago 19
5106
9
ott 19
28809
0
mar 25
1380
1
ott 22
3685
2
lug 22
9197