nh_clinical_ldap
develop

Contents:

  • NH Odoo Fixes
    • Cookie Fix
    • fields.many2many Set Override
    • read_group Fill Results
    • Fix Server Shutdown Issue
    • Fixes to osv.expression
    • ORM timestamp fixes
    • Remove the exception name from error dialogs
    • Validation helpers
  • NH Activity
  • NH Clinical
  • NH Clinical LDAP Extension
  • NH Logging
nh_clinical_ldap
  • Docs »
  • NH Odoo Fixes »
  • Cookie Fix
  • Edit on GitHub

Cookie Fix¶

cookie_fix.get_response(self, httprequest, result, explicit_session)[source]¶

Override Odoo’s default 3 month cookie timeout with our own

Parameters:
  • httprequest – An instance of openerp.http.HttpRequest
  • result – The result to return to the client from openerp.http.route
  • explicit_session – optional openerp.http.Session
Returns:

Returns the result response with a cookie that expires in x hours

Next Previous

© Copyright 2017, NeovaHealth, BJSS. Revision 5d5bd9e1.

Built with Sphinx using a theme provided by Read the Docs.