Code Monkey home page Code Monkey logo

odoo-redis's Introduction

Redis as a session storage for Odoo

Configuration

  1. Install this module to your addons folder.
  2. add these parameters to configuration file (openerp_server.conf).
    • use_redis (required) : to enable this module
    • redis_host (optional) : default to 'localhost'
    • redis_port (optional) : default to 6379
    • redis_salt (optional) : salt using with generate_key
  3. Restart Odoo process and install 'Redis as Session Storage' in Odoo Apps.

odoo-redis's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

odoo-redis's Issues

odoo10.0 404 error

when i user this app to odoo10.0. will lot of 404 error for some picture and css file, like this

Request URL:http://127.0.0.1:8069/hr_holidays/static/description/icon.png
Request Method:GET
Status Code:404 NOT FOUND
Remote Address:127.0.0.1:8069
Referrer Policy:no-referrer-when-downgrade
Response Headers
view source
Cache-Control:no-cache
Content-Length:233
Content-Type:text/html
Date:Thu, 28 Sep 2017 12:31:23 GMT
Server:Werkzeug/0.11.11 Python/2.7.11
Request Headers
view source
Accept:image/webp,image/apng,image/,/*;q=0.8
Accept-Encoding:gzip, deflate, br
Accept-Language:zh
Connection:keep-alive
Cookie:session_id=0b7666cf4af975c3474c483ede20e48b830ff516
Host:127.0.0.1:8069
Referer:http://127.0.0.1:8069/web?debug=assert
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

After activation the sessions are still in file

Hello Keerati,

After I activate the module, Odoo still keeps the sessions under the "/sessions" folder. There are not any error logs. I'm testing it with Odoo 8. Does it work for you?

Regards,
Blagovest Petrov

What is redis_ salt?

Hello!
I have odoo installed now_ The redis module and configuration file have been configured.
But redis_ What is salt. How to generate this

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.