Browse Source

[FIX] super_calendar: flake8.

pull/139/head
Alejandro Santana 10 years ago
parent
commit
4694c8ca46
  1. 2
      super_calendar/models/super_calendar.py

2
super_calendar/models/super_calendar.py

@ -83,7 +83,7 @@ class super_calendar_configurator(models.Model):
if (f_user and
cur_rec[f_user] and
cur_rec[f_user]._model._name != 'res.users'):
raise orm.except_orm(
raise Exception(
_('Error'),
_("The 'User' field of record %s (%s) "
"does not refer to res.users")

Loading…
Cancel
Save