From 1307e609028c2ba9e0cd48c4a57513ca01f752b9 Mon Sep 17 00:00:00 2001 From: nicomacr Date: Mon, 1 Apr 2019 15:44:37 -0300 Subject: [PATCH] [FIX] base_exception: send the active_model in the conxtext when call the _popup_exceptions mehtod --- base_exception/models/base_exception.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base_exception/models/base_exception.py b/base_exception/models/base_exception.py index d89c3522f..29c187d7b 100644 --- a/base_exception/models/base_exception.py +++ b/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