Help

0

How to set statusbar "clickable=True" only in edit mode

Hi there odooers,

I'm trying to setup a status bar such that it is shown at all times, but only clickable when the user is in edit mode.

`<header> <field name="state" widget="statusbar" class="oe_edit_only" options="{'fold_field': 'fold'}" statusbar_visible="available,appointment,locked,annulled" /> </header>`

The class = "oe_edit_only" is not working well in this case, since it hides it completely in view mode. I want it to be shown but in a non clickable way.

Any insight about this?

Thanks a lot,

Andrés.


1 Comment
Avatar
Discard
Avatar
Sehrish
-

Check these tips: https://goo.gl/8HgnCF

1 Answer
0
Best Answer

Anyone??

Avatar
Discard