Odoo Help


How to develop on Mac OS for OpenERP?

Hannes Smit
on 8/15/14, 3:02 AM 4,312 views

I'm using Eclipse + Pydev on Linux Ubuntu currently, but my hardware is getting old.

Is Apple / Mac OS a good development platform for OpenERP / ODOO? Which setup/environment do you guys use?

I'm also thinking about development on virtual machines (vagrant/virtualbox/docker) since the servers run on Linux Ubuntu. What is the best approach for development and debugging then? Eclipse in a virtual machine has a bad performance I guess. Back to PDB seems not ideal. Remote Debugging from the host to a virtual machine is still not really understandable for me. 

What do you think is the best setup? Is Mac even an option? Or is an Ubuntu host with (for example) Docker a better option?


ThackerS (ts)
On 8/16/14, 9:22 PM

Dear Hannes.
If you want to develop a openerp module, it is recommanded to use  a Linux OS (not necessary) to do a good thing.
I recommand you to increase the disk space of  your Virtual machine and use eclipse+pydev to develop your module.
Also, i recommand you to install openerp template and xml template to help you : http://www.youtube.com/watch?v=uS4xICmi1JU
Best regards.
NB: If my answer help you, don't forget to vote my message.

Hello Thacker, Thanks for your answer. I would like to ask you one more thing. Imagine I have 3 customers, each with a different Python version, a different Ubuntu version and a different Postgres version. In this case I think running virtual machines is a good solution. Now, since Apple has good hardware, I'm thinking that Mac OSX is a good host machine candidate. Do you agree with that? Or do you think that running Ubuntu as a host-machine (with possible other ways of virtualization) is easier/better/equal? With special regards to debugging code with Eclipse Pydev. Hannes

Hannes Smit
on 8/18/14, 3:30 AM


| 5 2 8
Kuala Lumpur, Malaysia


On 8/16/14, 9:15 PM

It really depends on your hardware capacity. You need at least 8 GB of RAM to run comfortably with virtual machies for development. I would choose ubuntu as my development machine simply there are  more information available but nothing is stopping you to do development with OSX as odoo/openerp is sitting on python 2.7 both Eclipse and Postgres 9.x  are available in OSX.

Hi jc, I'm not think about running postgres on Mac. I'm thinking about running it all in virtual machine(s) and do only the development in MacOSX. Do you have experience with debugging code between the host and a virtual (remote) machine?

Hannes Smit
on 8/18/14, 3:22 AM

What do you mean by between the host and virtual? Could you elaborate further?

on 8/18/14, 6:45 AM

Hi jc, the host is the system I'm normally using. For every customer we create a virtual machine (different python, postgres, ubuntu etc). I would like to run eclipse on the host system and debug code in the virtual environments with Eclipse.

Hannes Smit
on 8/18/14, 8:08 AM

Hi Hannes, I am running version 7 with the same addons across for all my clients, usually when come to debugging I will duplicate their database and simulate the bug reported in the test env. My main development env is in OSX . In the production env most clients are on ubuntu server and some are on window server, when client insisted. Virtual machine for me is for testing purposes , for example testing on diff platform, databases replication and new version and etc.

on 8/19/14, 7:23 PM

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

1 follower(s)


Asked: 8/15/14, 3:02 AM
Seen: 4312 times
Last updated: 3/16/15, 8:10 AM