From 7427a8d301e13dd2192b471d6d21baa456a81725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Pigeon?= Date: Fri, 27 Jul 2018 15:11:24 +0200 Subject: [PATCH] [10.0][FIX] base_exception: add active_model in returned action --- base_exception/models/base_exception.py | 1 + 1 file changed, 1 insertion(+) diff --git a/base_exception/models/base_exception.py b/base_exception/models/base_exception.py index c7922cbfe..c2c593f35 100644 --- a/base_exception/models/base_exception.py +++ b/base_exception/models/base_exception.py @@ -97,6 +97,7 @@ class BaseException(models.AbstractModel): action = action.read()[0] action.update({ 'context': { + 'active_model': self._name, 'active_id': self.ids[0], 'active_ids': self.ids }