Hello all,
Please how do you inherit a non model core class in openerp
Below code does not work for when trying to subclass openerp web OpenERPSession class in web/session.py
import openerp
from openerp.addons.web.session import OpenERPSession
class NewOpenERPSession(OpenERPSession):
def authenticate(self, db, login, password, env=None):
import pdb; pdb.set_trace()
print "Hello World"
res_users = self.pool.get('res_users')
return super(WebSession, self).authenticate(self, db, login, password, env=None)