Odoo Help

7
8 Answers
1
Avatar

Axel Mendoza

--Axel Mendoza--
13358
| 7 8 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full-time employee trying to understand what to do and how

Reach me at aekroft@gmail.com

Axel Mendoza
10/1/15, 2:09 AM

In Odoo this can be implemented as a command and used to run Odoo with the needed calls to the bootstrap code and changes to http.py before been loaded because for commands the modules are loaded ok. The default command is server who bootstrap the Odoo server using the config options. Your command need to do pretty much the same but with changes in the right places

0
陈帆
5/15/16, 10:18 PM

i have integrate redis to store odoo session.    thanks for https://gist.github.com/carlopires/1451947


you can try it use this branch  https://github.com/jeffery9/odoo/tree/odoo8-session-in-redis

0
Doğan ALTUNBAY
12/8/15, 5:08 PM

I have two suggestions

1 - Why not use nfs to share session_dir?

2 - Implement a custom start script instead of odoo.py and reassign openerp.http.root to your override.

class NewRoot(openerp.http.Root)
    @lazy_property
    def session_store(self):
        return <your session store instance>

Then in your main method

def main()
import openerp
openerp.http.root = NewRoot() #override here
openerp.cli.main()
1 Comment
Isabelle Richard
1/28/16, 4:34 AM

Hi, We had some trouble using NFS. It seems that there are locks on the files, resulting to page loading very slowly.

Ask a Question
Writer
Keep Informed
6 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now