[domino] adapt to new ihm for the domino workflow element
This commit is contained in:
parent
80a67465ec
commit
61e5f2dfcb
|
@ -131,9 +131,9 @@ class AbeliumDominoRegisterFamilyWorkflowStatusItem(WorkflowStatusJumpItem):
|
|||
form_user.abelium_domino_code_famille = code_interne
|
||||
form_user.store()
|
||||
except Exception, e:
|
||||
if form.get_submit() == 'update_button%s' % self.id:
|
||||
if form.get_widget('family_id').parse():
|
||||
msg = _('Unable to update family: %s') % str(e)
|
||||
elif form.get_submit() == 'create_button%s' % self.id:
|
||||
else:
|
||||
msg = _('Unable to create family: %s') % str(e)
|
||||
evo.comment = msg
|
||||
logger.exception(msg % formdata.get_user())
|
||||
|
|
Reference in New Issue