Browse Source

Merge pull request #1535 from adhoc-dev/11.0-h-17283-nmr

[FIX] base_exception: send the active_model in the conxtext when call…
pull/1521/merge
Pedro M. Baeza 6 years ago
committed by GitHub
parent
commit
fd40a612b2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      base_exception/models/base_exception.py

3
base_exception/models/base_exception.py

@ -128,7 +128,8 @@ class BaseException(models.AbstractModel):
action_data.update({ action_data.update({
'context': { 'context': {
'active_id': self.ids[0], 'active_id': self.ids[0],
'active_ids': self.ids
'active_ids': self.ids,
'active_model': self._name,
} }
}) })
return action_data return action_data

Loading…
Cancel
Save