This question has been flagged
3 Replies
12757 Views

Is it possible to have a button in the header of a form view and hide it when we are in edit mode of this view?

Avatar
Discard
Best Answer

You should try class="oe_read_only"

Avatar
Discard
Best Answer

Did you find solution for this?

Avatar
Discard
Best Answer

Just a hunch, try adding class="oe_form_buttons_view" to the button and see if it works.

Avatar
Discard
Author

Thanks Joe, no, it's not working.