From 76a15bcb145a4d7a71ea8e5ce6e99f4835cb9e56 Mon Sep 17 00:00:00 2001 From: Nicolas Demonte Date: Wed, 29 May 2019 11:35:21 +0200 Subject: [PATCH] Fix can_return_to_registering_or_process grok registration --- src/pfwbged/policy/browser/guards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pfwbged/policy/browser/guards.py b/src/pfwbged/policy/browser/guards.py index a5889f3..66ffe04 100644 --- a/src/pfwbged/policy/browser/guards.py +++ b/src/pfwbged/policy/browser/guards.py @@ -164,7 +164,7 @@ class CanBeTrashedDmsAppendixFile(grok.View): class CanReturnToRegisteringOrProcess(grok.View): """""" grok.name('can_return_to_registering_or_process') - grok.context(IDmsIncomingMail) + grok.context(IDmsDocument) grok.require('zope2.View') def render(self):