summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2012-12-13 15:58:21 +0100
committerOlivier Dony <odo@openerp.com>2012-12-13 15:58:21 +0100
commit1565e8c7085a39b9faaf3271befb5735686d63cc (patch)
tree77b6f8a7589a80d466af173e50ccf684b8fea67e /addons/web/static/src/xml/base.xml
parent082ca41f1c3937ab40444675e8952980f11a23f3 (diff)
[IMP] ir.ui.menu: deleting a menu should orphan its children w/o corrupting the `parent_store` struct: test + fix
ir.ui.menu was recently changed to use _parent_store, which precludes using ondelete=set null for the parent_id column. We nevertheless need to be certain that menus can always be deleted but *never* cascade-deleted, due the possible presence of user-created menus. Overriding menu.unlink() is therefore necessary, and care must be taken to bypass the default menu visibility (using the `ir.ui.menu.full_list` context flag while doing so) bzr revid: odo@openerp.com-20121213145821-u2ipdvffu00rsgdg
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions