Commit 08226611 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[entities] parameters should be given to fire_transition, else they are simply ignored

parent d41f13a919ff
......@@ -551,7 +551,7 @@ class IWorkflowableAdapter(EntityAdapter):
tr = self._get_transition(tr)
if any(tr_ for tr_ in self.possible_transitions()
if tr_.eid == tr.eid):
self.fire_transition(tr, comment, commentformat)
def change_state(self, statename, comment=None, commentformat=None, tr=None):
"""change the entity's state to the given state (name or entity) in
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment