Browse Source
Merge pull request #1330 from acsone/10.0-base_exception-cpi
[10.0][FIX] base_exception: add active_model in returned action
pull/1215/merge
Pedro M. Baeza
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
base_exception/models/base_exception.py
|
@ -97,6 +97,7 @@ class BaseException(models.AbstractModel): |
|
|
action = action.read()[0] |
|
|
action = action.read()[0] |
|
|
action.update({ |
|
|
action.update({ |
|
|
'context': { |
|
|
'context': { |
|
|
|
|
|
'active_model': self._name, |
|
|
'active_id': self.ids[0], |
|
|
'active_id': self.ids[0], |
|
|
'active_ids': self.ids |
|
|
'active_ids': self.ids |
|
|
} |
|
|
} |
|
|