콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
2401 화면

Need to generate report for number of times user logged into odoo based on monthwise.

아바타
취소
베스트 답변

I am not sure and I don't know that Odoo stores the logged info in database.

My hint is that you override the controller 

@http.route('/web/login', type='http', auth="none")
def web_login(self, redirect=None, **kw):
   # ...................

Inside this controller, store the logged info to database with uid, date etc . 

Then you can create report from it


아바타
취소
작성자

Thanks. I managed with audit_logs module and generated report by fetching data from this module. Anyway i will try your method.