[FIX] base: deleting a view must not delete linked actions
This commit is contained in:
parent
bd2633753d
commit
640e77eaa3
|
@ -271,7 +271,7 @@ class ir_actions_act_window(osv.osv):
|
||||||
_columns = {
|
_columns = {
|
||||||
'name': fields.char('Action Name', translate=True),
|
'name': fields.char('Action Name', translate=True),
|
||||||
'type': fields.char('Action Type', required=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',
|
'domain': fields.char('Domain Value',
|
||||||
help="Optional domain filtering of the destination data, as a Python expression"),
|
help="Optional domain filtering of the destination data, as a Python expression"),
|
||||||
'context': fields.char('Context Value', required=True,
|
'context': fields.char('Context Value', required=True,
|
||||||
|
|
Loading…
Reference in New Issue