CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
What version of Python is going to give the least amount of headaches for Version 8 of OpenERP?
My head will hurt enough getting it running on FreeBSD so I'd like to avoid pain of running a too-new version of Python like 3.3
Now my self-inflected wounds are minimal historically when I move minor versions of PostgreSQL but will picking the 9.3 version of PostgreSQL bring trouble I'm not looking for?
In my experience, the new Odoo v8 will give you syntax errors on any other python version than 2.7.X . The newer python versions from 3.x and upwards will have subtly different syntax and therefor will come to a halt on running the server. Similairly, the 2.6.X versions of python all miss a backported 3.x functionality which will become apparant when you upgrade your modules (from the top of my head, the functionality was needed in sale module).
I have succesfully worked with postgres 9.X on v8. Older databases need to be dumped (pg_dump) and restored (pg_restore) outside of the OpenERP client, pref. using "--format=c". Thus far, this seem to have worked for me.
There should be no problem running the standard delivery of OpenERP 7 with PostgreSQL version 9.2 & 9.3. However, if you were using a third party module that uses removed features in PostgreSQL 9.3, there would be problems for you. My recommendation is just to stick with PostgreSQL 9.1 since it has been proven to be stable and good for production. Version 9.3 of PostgreSQL should need more time to reach the requirement of production environment.
Odoo is very "picky" about Python: it won't work at all with any version of Python >= 3, and may have some rare problem with version < 2.7, so 2.7 is highly recommended.
Regarding PostgreSQL, on the other hand, Odoo has almost no problem and in fact each newer version in my experience increases performances of Odoo and adds some useful tools (particularly 9.3 and 9.4).
So, my recommendation is to use Python 2.7 and the newest stable version of PostgreSQL that works.
About This Community
Odoo Training Center
|Asked: 1/26/14, 4:09 PM|
|Seen: 12355 times|
|Last updated: 6/13/16, 3:59 PM|