Delete takes instance not ids
issue3015
This commit is contained in:
1 parent
e7ee28a15b
commit
098f815d69
1 file changed
+2
-2
@@ -764,7 +764,7 @@ class ActionActWindow(ModelSQL, ModelView):
|
||||
def delete(cls, act_windows):
|
||||
Action = Pool().get('ir.action')
|
||||
|
||||
actions = [x.action.id for x in act_windows]
|
||||
actions = [x.action for x in act_windows]
|
||||
super(ActionActWindow, cls).delete(act_windows)
|
||||
Action.delete(actions)
|
||||
|
||||
@@ -910,7 +910,7 @@ class ActionWizard(ModelSQL, ModelView):
|
||||
pool = Pool()
|
||||
Action = pool.get('ir.action')
|
||||
|
||||
actions = [x.action.id for x in wizards]
|
||||
actions = [x.action for x in wizards]
|
||||
|
||||
super(ActionWizard, cls).delete(wizards)
|
||||
Action.delete(actions)
|
||||
|
||||
Reference in new issue
Block a user