@@ -0,0 +1,788 @@
+from pyramid.view import view_config%0A%0Afrom dace.processinstance.core import DEFAULTMAPPING_ACTIONS_VIEWS%0Afrom pontus.view import BasicView%0A%0Afrom novaideo.content.processes.proposal_management.behaviors import  CorrectProposal%0Afrom novaideo.content.proposal import Proposal%0Afrom novaideo import _%0A%0A%0A@view_config(%0A    name='correctproposal',%0A    context=Proposal,%0A    renderer='pontus:templates/view.pt',%0A    )%0Aclass CorrectProposalView(BasicView):%0A    title = _('Correct')%0A    name = 'correctproposal'%0A    behaviors = %5BCorrectProposal%5D%0A    viewid = 'correctproposal'%0A%0A%0A    def update(self):%0A        self.execute(None)        %0A        return self.behaviorinstances.values()%5B0%5D.redirect(self.context, self.request)%0A%0ADEFAULTMAPPING_ACTIONS_VIEWS.update(%7BCorrectProposal:CorrectProposalView%7D)%0A

add correct proposal view