Browse Source

Do not recreate variable in case of dict().

pull/280/head
Jairo Llopis 9 years ago
parent
commit
214efbf802
  1. 2
      auth_from_http_remote_user/res_users.py

2
auth_from_http_remote_user/res_users.py

@ -35,7 +35,7 @@ class res_users(orm.Model):
}
def copy(self, cr, uid, id, default=None, context=None):
default = default or {}
default = default = {} if default is None else default
default['sso_key'] = False
return super(res_users, self).copy(cr, uid, id, default, context)

Loading…
Cancel
Save