diff --git a/product/ERP5/Document/BusinessPath.py b/product/ERP5/Document/BusinessPath.py index d6ab44d51802e6c8fbc1a3f3e6797357858255ab..2fa3c6eafc6e97c6511431ae590c4957cbfa9a60 100644 --- a/product/ERP5/Document/BusinessPath.py +++ b/product/ERP5/Document/BusinessPath.py @@ -135,7 +135,7 @@ class BusinessPath(Path): Overriden in order to take into account dynamic arrow categories """ - context = kw.get('context') + context = kw.pop('context', None) result = Path._getAcquiredCategoryMembershipList(self, category, **kw) if context is not None: dynamic_category_list = self._getDynamicCategoryList(context)