Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

OpenERP v8 - what version of Python? What about 9.3 of PGsql?

Subscriure's

Get notified when there's activity on this post

This question has been flagged
v8pythonpostgresql9.3
5 Respostes
22425 Vistes
Avatar
marc

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?

1
Avatar
Descartar
Martin Pishpecki

There will be problems when trying to backup database. It will fail becouse pg_dump is different version than server. Try to run manully and you will see the error. Odoo server will fail on backup but won't tell you the real cause.

Avatar
Ludo - 21South
Best Answer

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.

2
Avatar
Descartar
Avatar
Viindoo Technology Joint Stock Company
Best Answer

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.

0
Avatar
Descartar
Mike Telahun

There are claims that running OpenERP with postgresql 9.2 provides a marked performance improvement over 9.1. I don't know about 9.3.

Viindoo Technology Joint Stock Company

Yes, you are right. The performance is really improved in PostgreSQL, especially when you compile PostgreSQL 9.2 from source code. It also consumes less server resource than the previous version of PostgreSQL. We are running ab't 170 instances of OpenERP with a dedicated PostgreSQL 9.2 (on CentOS 6.4). Those just consume around 4GB RAM to serve ab't 90 concurrent connections.

Avatar
Felipe
Best Answer

Im running v7 with postgres 9.3 without any problem, and I have tested v8 with python 2.7 same as v7

0
Avatar
Descartar
Avatar
Stephen Mack
Best Answer

Per a GitHub comment on 7 January 2015 by Odoo's Chief Technical Officer, they are targeting Python 2.7 for all current development.

0
Avatar
Descartar
Yenthe Van Ginneken (Mainframe Monkey)

@Stephen if I understand this correctly they will still use Python 2.7 in Odoo 9? I'm not sure why they wouldn't want to upgrade to 3.x by then. :(

Stephen Mack

I can't read the mind of Odoo but it seems that moving from 2.x to 3.x requires a lot of refactoring of the code. And they have been back porting new features from 3.x into 2.7.x so there is no need to upgrade. But maybe you should ask odoo directly.

Avatar
Leonardo Donelli
Best Answer

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.

0
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
Add Python module to Odoo8 installation over Windows 7 x64 Solved
v8 python odoo8
Avatar
Avatar
2
de des. 17
4810
How to call Javacript function from Python?
javascript v8 python
Avatar
Avatar
2
de març 15
12416
Trying to get manufacturer,(partner name) getting TypeError: string indices must be integers
v8 python postgresql
Avatar
0
de març 15
6019
How to use context in function defined with "self" as sole parameter? Solved
v8 python api context
Avatar
Avatar
3
de febr. 23
23248
How to register payments automatically trough python code?
v8 python automated payments
Avatar
Avatar
1
de març 18
11105
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now