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

Odoo Docker Container - how to configure Pycharm

S'inscrire

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

Cette question a été signalée
odoopycharm
2 Réponses
2984 Vues
Avatar
Roshan

Ubuntu 20.04 .6 LTS, Pycharm Community

at last I have installed Odoo 16 on Docker and it runs fine on web browser, showing create database page from where i can start. during my search for it I found below is github link which I followed: (sorry, i can't add a link, but a modified link)

github(dot)com/bithabib/docker_course

now I want to configure Pycharm for development tasks, please help to configure Pycharm, also if I have multiple Docker Containers for multiple Odoo versions separately v15, v16, v17 etc. how to configure ? how to start/stop specific container? how to set custom addons folder? how to set addons path? etc.


with regards


0
Avatar
Ignorer
Avatar
Roshan
Auteur Meilleure réponse

Don't know when I will be able to Reply to the guy who Answered. when I am trying to use Comment below the Answer, it is not allowed to use Comment which is very disturbing, poster can't see my comment below his or her Answer. Pray for us please.

@Rodrigo Moya , please check below link. ( I can't enter Links, Screenshots, can't Comment on another users posts etc. )

www(.)odoo(.)com/forum/help-1/odoo-docker-containers-how-to-handle-separately-different-versions-268232

with regards

0
Avatar
Ignorer
Avatar
Rodrigo Moya
Meilleure réponse

Hi Roshan : 

I I starting to work with pycharm but then I change to VS Code. I think is more friendly, specially when using dockers and python.


But in any case, the only thing that you need is to configure docker-compose.yml in a way that the addons and the pg_data folder make mounted outside the docker container. Then, you could configure pycharm to use the folder containing the addons, or the addon specifically you need.


Here is the docker-compose that I use. In my case, this configuration is practical, so if I need to work in another odoo version I just switch then in the file.


Hope it helps.




services:

​db:

​ ​container_name: odoodb

​ ​hostname: odoo15db

​ ​image: postgres:12

​environment:

​ ​- POSTGRES_USER=odoo15

​ ​- POSTGRES_PASSWORD=odoo15

​ ​- POSTGRES_DB=odoo15

​ ​- PGDATA = /var/lib/postgresql/data/pgdata

​networks:

- odoonetwork

ports:

​ ​- "5432:5432"

volumes:

​ ​- ./data/pgdata:/var/lib/postgresql/data

web:

​ ​container_name: odooweb

​ ​image: odoo:15

​ ​build: .

​ ​depends_on:

​ ​ ​- db

​ ​ports: - "8015:8015"

​ ​volumes:

​ ​ ​- odoo-web-data:/var/lib/odoo

​ ​ ​- ./config:/etc/odoo

​ ​ ​- ./addons:/mnt/addons

​ ​ ​- ./custom_addons:/mnt/custom_addons

​ ​ ​- ./data/odoo:/var/lib/odoo

​ ​environment:

​ ​ ​- VIRTUAL_HOST= www.odoo15.mac

​ ​command: "/usr/bin/odoo -c /etc/odoo/odoo.conf"

​ ​networks:

​ ​ ​- odoonetwork

​ ​volumes:

​ ​odoo-db-data:

​ ​odoo-web-data:

​ ​networks:

​ ​ ​odoonetwork:

​ ​driver: bridge

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é
how to configure Pycharm for development
configure odoo pycharm
Avatar
Avatar
Avatar
3
mai 25
2441
(!!C-o-p-a!!)¿Cómo comunicarse con Copa Airlines en Panamá?
odoo
Avatar
0
nov. 25
211
How do I go about this error? I am trying to uninstall a module
odoo
Avatar
0
nov. 25
3334
(#iberia#)¿Cómo llamar a Iberia desde Panamá?
odoo
Avatar
0
oct. 25
401
How to import product variants with my own external id when using dynamic creation mode Résolu
odoo
Avatar
Avatar
2
août 25
3907
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