Not invisible groups invisible in form view

Web client revision : 2298

From the web client, a group with the attribut attr="{'invisible':False}" is invisible in form view.

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Web Client Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was originally filed as bug #334463.

Revision history for this message
Amit Mendapara (cristatus) said :
#1

Invalid sysntax. It's `attrs` not `attr` and the syntax should be (similar to domain syntax)...

attrs={'invisible': [('some_field', '=', 'some_value')]}"

That is, the visibility (an attribute of a widget) depends on value of a field `some_field`. Additionally, if you want to hide a widget (page, group or field) explicitly then you can use...

attrs={'invisible': [1]}"

Can you help with this problem?

Provide an answer of your own, or ask Corentin Pouhet-Brunerie - http://www.Smile.fr for more information if necessary.

To post a message you must log in.