Browse Source

[FIX] base_exception: send the active_model in the conxtext when call the _popup_exceptions mehtod

pull/1535/head
nicomacr 6 years ago
parent
commit
0948294e49
  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({
'context': {
'active_id': self.ids[0],
'active_ids': self.ids
'active_ids': self.ids,
'active_model': self._name,
}
})
return action_data

Loading…
Cancel
Save