This question has been flagged

I have a small action I wish to perform at login.

My current implementation inherits from login on res.users, and it works fine, but it is overkill. My method really only needs to be performed once per "session" and only when logging in from the web client login screen, not every time a login authorisation is performed.

Is there a method I can inherit and extend that is called less frequently? I was looking for the method that sought the user's "Home Action", but as that is no longer implemented in version 7, I am at a loss.

Avatar
Discard