Previously to commit https://github.com/odoo/odoo/commit/531d641375f5cee7d3a5e629f6b1eaceee8b2739 website menus checkboxes change did remove all menu entries. They were then created again depending on checked entries. That commit changed that behavior to try to create only missing menu entries and remove only extra entries. However the extra entries removal was not correctly done. This commit now checks existing menu entries and remove menu entries that should not exist depending on checked options. Only standard menu entries are removed aka menu entries generated by the event module. This means custom menu entries added for the event should be kept to avoid loosing customization.