How to remove “Create” and “Edit” buttons from a form view

If you need to remove one or both buttons from the form view you can do that by setting up create and/or edit attributes in the form tag of the view definition to false.

<form create="false" edit="false">

2 Comments

  1. Nicolás

    I’ve tried this code in odoo11 and sadly doesn’t work, do you know if the attribute was changed through the versions?

Leave a Reply

Your email address will not be published.