Odoo Help


Odoo 8: Debugging/Developing environment without local database/Postgresql install

Andrew La Russa
on 3/24/15, 7:00 PM 1,742 views

Is there a way to setup a Odoo 8 so it looks to the local Odoo repository? I have an Ubuntu server setup and I'm trying to configure it so I don't need install a local database in order to test changes. For instance, make the changes to a local Odoo git repository and point the config file to the Ubuntu server where Postgresql is installed. 

This is how it works in MVC. All the files are modified locally and then published to the server after testing. It seems like you do everything on a local database and server and then deploy your changes. In other words, all the developers need Python (all the Python packages), Postgresql and so.

I have already configured PyCharm to create a virtual environment from site-packages, so I don't have to install Python for all of the users. I also setup the conf file to point the remote server and it works no problem. I have cloned git for all the users as well. I have each user setup with their own vm that I cloned from a base Ubuntu with Odoo install.

Hopefully this is possible. Worst comes to worse I will just have them modify the files locally and deploy as needed.


Axel Mendoza

--Axel Mendoza--
| 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
On 7/13/15, 4:20 AM

I don't understand what do you want, seems that you find the answer to your initial question by yourself, Odoo have configuration options for configure the use of a remote PostgreSQL database. In case that you still need it you can specify them in a config file that you can put wherever you want and have permision to read by the Odoo running user and run Odoo with "-- config /path/to/config/file" as an argument. The content of this config file could be any of the supported Odoo config options plus your own needed ones. For Database configuration you can use this:

db_host = server_hostname_or_ip
db_port = 5432 db_user = openerp db_password = openerp

Change those options as your convenience

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.


Odoo Training Center

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

Test it now

Question tools

3 follower(s)


Asked: 3/24/15, 7:00 PM
Seen: 1742 times
Last updated: 7/13/15, 4:20 AM