Search code examples
xmlodooodoo-14

Hide delete in odoo 14


How can I hide the action delete in odoo enter image description here

I just want to hide the "Suprimir" action In english is "Delete"


Solution

  • You can hide it in form view by inheriting the form view and add attribute delete="false" to the form tag.

    Find here the example for Odoo code for hide (create, edit and delete) in form view.

    Find here the example for Odoo code for hide (create, edit and delete) in tree view.