Odoo Help


Find the "set_editable" state of a list view

HIGHCO - Nicolas Clavier
on 3/19/13, 11:52 AM 2,440 views

Hi folks,

In v7, the context of a list view being edited inline, (with editable="bottom" or "top"), I'm looking for a way to manipulate the visibility of a field based on the state of the field: attrs="{'invisible':[('context.set_editable','=',True)]}" but example above crashes with unknown field error.

Is there a variable holding the state of the list view telling wether it is editing or browsing ?

Thanks for your time, Nicolas




| 5 4 8
Casablanca, Morocco
On 3/19/13, 12:12 PM

Try this in your field


Thanks, I just tried but there doesn't seem to be the 'set_editable' key in the context at this level (in the column). pity, it looked adequate..

HIGHCO - Nicolas Clavier
on 3/19/13, 12:57 PM

According to .../addons/web/doc/list_view.rst this setting will only tell if the list is editable, not if it's currently being edited.

SalesInq, Ethan Furman
on 11/11/13, 3:29 PM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 3/19/13, 11:52 AM
Seen: 2440 times
Last updated: 3/16/15, 8:10 AM