diff --git a/product/ERP5/Document/BusinessPath.py b/product/ERP5/Document/BusinessPath.py index 044dc92602ded0fc34e0f8c5b121f95d89fcab0d..1894ee10124d22e9ec8add502ef7d91e38bbb9b4 100644 --- a/product/ERP5/Document/BusinessPath.py +++ b/product/ERP5/Document/BusinessPath.py @@ -163,7 +163,7 @@ class BusinessPath(Path, Predicate): Overridden in order to take into account dynamic arrow categories in case if no static categories are set on Business Path """ - context = kw.pop('context') + context = kw.pop('context', None) result = Path._getCategoryMembershipList(self, category, **kw) if len(result) > 0: return result