From 0948294e4973fb7c3ad9d01b9d91765fc8bb8313 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