Odoo Help

0

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 1,881 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?

1
Ubaid
On 1/13/16, 11:51 PM

You should try class="oe_read_only"

0

Ivan

--Ivan--
3245
| 5 3 6
Jakarta, Indonesia
--Ivan--
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: 1881 times
Last updated: 1/13/16, 11:51 PM