Skip to content
Snippets Groups Projects
Commit 640e77ea authored by Christophe Simonis's avatar Christophe Simonis
Browse files

[FIX] base: deleting a view must not delete linked actions

parent bd263375
No related branches found
No related tags found
No related merge requests found
......@@ -271,7 +271,7 @@ class ir_actions_act_window(osv.osv):
_columns = {
'name': fields.char('Action Name', translate=True),
'type': fields.char('Action Type', required=True),
'view_id': fields.many2one('ir.ui.view', 'View Ref.', ondelete='cascade'),
'view_id': fields.many2one('ir.ui.view', 'View Ref.', ondelete='set null'),
'domain': fields.char('Domain Value',
help="Optional domain filtering of the destination data, as a Python expression"),
'context': fields.char('Context Value', required=True,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment