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

This commit is contained in:
Christophe Simonis
2014-12-02 17:45:31 +01:00
parent bd2633753d
commit 640e77eaa3
+1 -1
View File
@@ -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,