Odoo Help

1

Show a button in form view, when in view mode, and hide in edit mode

By
Pau Ubach
on 9/24/14, 5:44 AM 2,258 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?

2
Ubaid ur Rehman
On 1/13/16, 11:51 PM

You should try class="oe_read_only"

0
Ivan
On 9/24/14, 6:50 AM

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

Thanks Joe, no, it's not working.

Pau Ubach
on 9/24/14, 6:53 AM

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.

Register

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)

Stats

Asked: 9/24/14, 5:44 AM
Seen: 2258 times
Last updated: 7/18/17, 2:57 PM