From 272d2f79cc8b8ce4c0da887ced78e809dcabd33d Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 11 May 2022 16:55:38 +0200 Subject: [PATCH] patch mixin --- InvenTree/plugin/base/action/mixins.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/InvenTree/plugin/base/action/mixins.py b/InvenTree/plugin/base/action/mixins.py index e2fef5869f..70fea86a7e 100644 --- a/InvenTree/plugin/base/action/mixins.py +++ b/InvenTree/plugin/base/action/mixins.py @@ -15,9 +15,10 @@ class ActionMixin: """ MIXIN_NAME = 'Actions' - def __init__(self): + def __init__(self, user=None, data=None): super().__init__() self.add_mixin('action', True, __class__) + self.init(user, data) def action_name(self): """