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

addons_path issue

S'inscrire

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

Cette question a été signalée
addonspath
2 Réponses
8782 Vues
Avatar
Tom

I am trying to add folder to the addons_path line on my config file and I get a display error (see screenshot).

Screenshot: https://postimg.org/image/8ypgjm3tp/

Here is my config file:

[options]; This is the password that allows database operations:
admin_passwd = ***
db_host = False
db_port = False
db_user = odoo
db_password = False
addons_path = /usr/lib/python2.7/dist-packages/openerp/addons,/opt/odoo/addons


My /opt/odoo/addons folder is set to :

drwxr-xr-x 4 odoo odoo 4096 Sep 28 09:31 .
drwxr-xr-x 3 odoo odoo 4096 Sep 28 09:31 ..
drwxr-xr-x 3 odoo odoo 4096 Sep 28 09:41 addons
drwxr-xr-x 2 odoo odoo 4096 Sep 28 09:31 custom_addons


I don't know what else I should do..

Any idea?

0
Avatar
Ignorer
Avatar
Bejaoui Souheil
Meilleure réponse

Hi,

If your addons are installed under opt/odoo you don't need to mention "/usr/lib/python2.7/dist-packages/openerp/addons".

If this folder (/usr/lib/python2.7/dist-packages/openerp/addons) not existing, odoo can't start.

in this case put simply : addons_path = /opt/odoo

Best regards.

2
Avatar
Ignorer
Avatar
Tom
Auteur Meilleure réponse

  myselfThanks for your answer but I did not add the addons directory (the one in /usr/lib/python2.7/dist-packages/openerp/addons)  myself, it's the original location with all addons.

What I wanted to do was adding an extra folder where I could put the extra and custom addons so they're not mixed with the 280 other ones. 

I read somewhere that it's possible so I tried adding a 2nd folder but it looks like I'm missing something...

I tried removing the /usr/lib/python2.7/dist-packages/openerp/addons and leave only /opt/odoo/addons and it's still not working, I got more errors:

"Could not get content for /web/static/lib/cleditor/jquery.cleditor.css defined in bundle 'web.assets_backend'.\A 
Could not get content for /web/static/lib/jquery.textext/jquery.textext.css defined in bundle 'web.assets_backend'.\A
Could not get content for /web/static/lib/select2/select2.css defined in bundle 'web.assets_backend'.\A
Could not get content for /web/static/lib/bootstrap/css/bootstrap.css defined in bundle 'web.assets_backend'.\A
Could not get content for /web/static/lib/jquery.ui.bootstrap/css/custom-theme/jquery-ui-1.9.0.custom.css defined in bundle 'web.assets_backend'.\A Could not get content for /web/static/lib/jquery.ui.timepicker/css/jquery-ui-timepicker-addon.css defined in bundle 'web.assets_backend'.\A Could not get content for /web/static/lib/jquery.ui.notify/css/ui.notify.css defined in bundle 'web.assets_backend'.\A Could not get content for /web/static/src/css/base.css defined in bundle 'web.assets_backend'.\A Could not get content for /web/static/src/css/data_export.css defined in bundle 'web.assets_backend'.\A Could not get content for /base/static/src/css/modules.css defined in bundle 'web.assets_backend'.\A Could not get content for /account/static/src/css/account_move_reconciliation.css defined in bundle 'web.assets_backend'.\A Could not get content for /account/static/src/css/account_move_line_quickadd.css defined in bundle 'web.assets_backend'.\A Could not get content for /account/static/src/css/account_bank_and_cash.css defined in bundle 'web.assets_backend'.\A Could not get content for /account/static/src/css/account_bank_statement_reconciliation.css defined in bundle 'web.assets_backend'.\A Could not get content for /base_import/static/src/css/import.css defined in bundle 'web.assets_backend'.\A Could not get content for /base_setup/static/src/css/base_setup.css defined in bundle 'web.assets_backend'.\A Could not get content for /board/static/src/css/dashboard.css defined in bundle 'web.assets_backend'.\A Could not get content for /calendar/static/src/css/calendar.css defined in bundle 'web.assets_backend'.\A Could not get content for /hr/static/src/css/hr.css defined in bundle 'web.assets_backend'.\A Could not get content for /im_chat/static/src/css/im_common.css defined in bundle 'web.assets_backend'.\A Could not get content for /im_chat/static/src/css/im_chat.css defined in bundle 'web.assets_backend'.\A Could not get content for /mail/static/src/css/mail.css defined in bundle 'web.assets_backend'.\A Could not get content for /mail/static/src/css/mail_group.css defined in bundle 'web.assets_backend'.\A Could not get content for /mail/static/src/css/announcement.css defined in bundle 'web.assets_backend'.\A Could not get content for /portal/static/src/css/portal.css defined in bundle 'web.assets_backend'.\A Could not get content for /sales_team/static/src/css/sales_team.css defined in bundle 'web.assets_backend'.\A Could not get content for /share/static/src/css/share.css defined in bundle 'web.assets_backend'.\A Could not get content for /stock/static/src/css/stock.css defined in bundle 'web.assets_backend'.\A Could not get content for /web_calendar/static/src/css/web_fullcalendar.css defined in bundle 'web.assets_backend'.\A Could not get content for /web_calendar/static/lib/fullcalendar/css/fullcalendar.css defined in bundle 'web.assets_backend'.\A Could not get content for /web_diagram/static/src/css/base_diagram.css defined in bundle 'web.assets_backend'.\A Could not get content for /web_gantt/static/src/css/gantt.css defined in bundle 'web.assets_backend'.\A Could not get content for /web_gantt/static/lib/dhtmlxGantt/codebase/dhtmlxgantt.css defined in bundle 'web.assets_backend'.\A Could not get content for /web_graph/static/src/css/graph.css defined in bundle 'web.assets_backend'.\A Could not get content for /web_graph/static/src/css/nv.d3.css defined in bundle 'web.assets_backend'.\A Could not get content for /web_kanban/static/src/css/kanban.css defined in bundle 'web.assets_backend'.\A Could not get content for /web_tests/static/src/css/web_tests.css defined in bundle 'web.assets_backend'.\A Could not get content for /web_view_editor/static/src/css/view_editor.css defined in bundle 'web.assets_backend'."
0
Avatar
Ignorer
Bejaoui Souheil

past the path of addons, the other directory and your file config.

Tom
Auteur

The original path is

/usr/lib/python2.7/dist-packages/openerp/addons

With permissions:

drwxr-xr-x 281 root root 12288 Sep 28 12:05 addons

The custom directory:

/opt/odoo/addons

With permissions:

drwxr-xr-x 3 odoo odoo 4096 Sep 28 09:41 addons

The config file:

[options]

; This is the password that allows database operations:

admin_passwd = ****

db_host = False

db_port = False

db_user = odoo

db_password = False

addons_path = /usr/lib/python2.7/dist-packages/openerp/addons,/opt/odoo/addons

Tom
Auteur

Ok, it works.

It looks like the problem was with the addon I was trying to install (aeroo reports)

Tom
Auteur

Thanks Bejaoui

Bejaoui Souheil

Welcome :)

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 shall I add a "Path" into "addons_path" for all database forever?
addons path
Avatar
Avatar
Avatar
3
août 16
7941
Odoo isn't seeing an add-on that I downloaded and placed in the addons folder Résolu
addons
Avatar
Avatar
Avatar
Avatar
Avatar
5
oct. 25
2407
ADD ON FINANCIAL MODULE/FISCALE ACCOUNTING FOR ODOO 18 COMMUNITY
addons
Avatar
Avatar
Avatar
2
août 25
1769
Uploaded Addons don't appear when Updating Addons List
addons
Avatar
Avatar
1
déc. 23
4428
Odoo 16 package requires python-requests in one version, but the TicketBAI addon requires python-requests in another version
addons
Avatar
0
sept. 23
4320
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