This commit is contained in:
Cédric Krier committed 2012-03-23 18:09:19 +01:00
commit 0d28cf6e29
1 file changed
+1 -1
@@ -1019,7 +1019,7 @@ class Button(object):
'ids': [obj_id],
}, context=ctx)
else:
raise TrytonError('Unallowed button type')
raise Exception('Unallowed button type')
self.screen.reload(written=True)
else:
self.screen.display()