I’m trying to write a module for OpenERP 6.1 that will hide the “Send an SMS” button on the Partner form. I tried overwriting the window action’s id with a different name and src_model, but only the name change appeared. I traced through the code, and it looks like the ir_values records from the base module are still linking the action to the res.partner model.
Is there a legitimate way to hide a sidebar button, or am I going to have to modify the base module? I briefly tried restricting permissions on the wizard’s table, but that didn’t seem to have an effect.
Just try the
<delete>tag, it works for XML as well as YAML. You can delete a specific record by its XML id, or use search criteria.