跳至内容
菜单
此问题已终结
1 回复
2386 查看

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.