Add on delete cascade on action.act_window.view

This commit is contained in:
ced@b2ck.com committed 2007-12-18 22:38:12 +01:00
1 parent ea203badd0
commit e6528cfce5
1 file changed
+2 -1
+2 -1
View File
@@ -140,7 +140,8 @@ class ActionsActWindowView(OSV):
('form', 'Form'),
('graph', 'Graph'),
('calendar', 'Calendar')), string='Type of view', required=True),
'act_window_id': fields.many2one('ir.actions.act_window', 'Action'),
'act_window_id': fields.many2one('ir.actions.act_window', 'Action',
ondelete='CASCADE'),
'multi': fields.boolean('On multiple doc.',
help="If set to true, the action will not be displayed \n" \
"on the right toolbar of a form views."),