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">
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">
I’ve tried this code in odoo11 and sadly doesn’t work, do you know if the attribute was changed through the versions?
Hi Nicolás,
Sorry for the late response, but these attributes should work in Odoo v.11 as well. Here https://git.io/vN8RK is an example where these attributes are used.