I have problem with deleting the menu in openerp6.
In the module A (an original module) create a menu call X. My custom module B which depends on A, try to delete the menu X I used this in XML file:
<delete id="base.menu_partner_category_form" model = "ir.ui.menu"/>
When upgrading module B => It's fine When upgrading module A (it will upgrade module B together) => Display this exception:
One of the records you are trying to modify has already been deleted (Document type: ir.ui.menu).
I have three solutions but my PM does not agree with my solution
- Keep it and try not to update the module A
- Create new groups (with no users) and add the menu to that groups (instead of trying to delete the menu)
- Comment out the code that generate the menuitem in the original module
Any advice? Please help me!