Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

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

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
v8pythonpostgresql9.3
5 Réponses
22429 Vues
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
Ignorer
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
Meilleure réponse

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
Ignorer
Avatar
Viindoo Technology Joint Stock Company
Meilleure réponse

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
Ignorer
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
Meilleure réponse

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

0
Avatar
Ignorer
Avatar
Stephen Mack
Meilleure réponse

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
Ignorer
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
Meilleure réponse

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
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Add Python module to Odoo8 installation over Windows 7 x64 Résolu
v8 python odoo8
Avatar
Avatar
2
déc. 17
4812
How to call Javacript function from Python?
javascript v8 python
Avatar
Avatar
2
mars 15
12418
Trying to get manufacturer,(partner name) getting TypeError: string indices must be integers
v8 python postgresql
Avatar
0
mars 15
6020
How to use context in function defined with "self" as sole parameter? Résolu
v8 python api context
Avatar
Avatar
3
févr. 23
23254
How to register payments automatically trough python code?
v8 python automated payments
Avatar
Avatar
1
mars 18
11110
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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