Exemple #1
0
    def update(self):
        # we need a better way of binding multiple states and associated transitions, such
        # that we can chain them together.
        info = IWorkflowInfo(self.line_items[0])
        transitions = info.getManualTransitionIds()
        self.actions = bindTransitions(self, transitions, collection=True)

        return super(OrderContentsComponent, self).update()
    def update( self ):
        # we need a better way of binding multiple states and associated transitions, such
        # that we can chain them together.
        info = IWorkflowInfo( self.line_items[0] )
        transitions = info.getManualTransitionIds()
        self.actions = bindTransitions( self, transitions, collection=True )

        return super( OrderContentsComponent, self).update()