From a7809a5f37a1e491383e217d5fff571f4fe49274 Mon Sep 17 00:00:00 2001 From: SaraiOsorio Date: Thu, 30 Nov 2017 10:21:55 -0600 Subject: [PATCH] [FIX][bio_login] --- bio_login/models/res_users.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bio_login/models/res_users.py b/bio_login/models/res_users.py index 182b995..92fdef2 100644 --- a/bio_login/models/res_users.py +++ b/bio_login/models/res_users.py @@ -53,9 +53,9 @@ def fingerprint(self): transaction, 'Odoo', self.id)['outBioKey'] self.biokey = biokey - @classmethod - def _login(cls, db, login, password): - user_id = super(ResUsers, cls)._login(db, login, password) + def _login(self, db, login, password): + user_id = super(ResUsers, self)._login(db, login, password) + import ipdb; ipdb.set_trace() if user_id == SUPERUSER_ID: return user_id with registry(db).cursor() as cr: