I'm writing an angularJS front end that connects to an Odoo system. Inconsistently a call via call_kw to return some data fails with the error "session expired". The data being returned doesn't appear to have anything to do with causing the error and the error very seldom occurs when a user first logs in but more often when refreshing a page or moving between screens.
I've tracked it down to the setup_db method in the http.py file. The check to see if httprequest.session.db exists fails for reasons unknown.
Has anybody else had this happen or know what the cause would be?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 3/1/16, 5:14 PM|
|Seen: 338 times|
|Last updated: 3/1/16, 5:42 PM|