[gen] Ogone field: bugfixes.

This commit is contained in:
Gaetan Delannay 2012-08-07 17:38:54 +02:00
parent 256f6acb55
commit 3393effd7b
2 changed files with 14 additions and 8 deletions

View file

@ -930,7 +930,7 @@ class BaseMixin:
stateName = self.State(name=True, initial=True)
self.addHistoryEvent(None, review_state=stateName)
state = self.State(name=False, initial=True)
self.log('Wrong workflow info for a "%s"; is not in state "%s".' % \
self.log('Wrong workflow info for a "%s"; is now in state "%s".' % \
(self.meta_type, stateName))
# Update permission attributes on the object if required
updated = state.updatePermissions(wf, self)