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

addons_path issue

Subscriure's

Get notified when there's activity on this post

This question has been flagged
addonspath
2 Respostes
8986 Vistes
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
Descartar
Avatar
Bejaoui Souheil
Best Answer

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
Descartar
Avatar
Tom
Autor Best Answer

  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
Descartar
Bejaoui Souheil

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

Tom
Autor

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
Autor

Ok, it works.

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

Tom
Autor

Thanks Bejaoui

Bejaoui Souheil

Welcome :)

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
How shall I add a "Path" into "addons_path" for all database forever?
addons path
Avatar
Avatar
Avatar
3
d’ag. 16
8071
Odoo isn't seeing an add-on that I downloaded and placed in the addons folder Solved
addons
Avatar
Avatar
Avatar
Avatar
Avatar
5
d’oct. 25
2995
ADD ON FINANCIAL MODULE/FISCALE ACCOUNTING FOR ODOO 18 COMMUNITY
addons
Avatar
Avatar
Avatar
2
d’ag. 25
2230
Uploaded Addons don't appear when Updating Addons List
addons
Avatar
Avatar
1
de des. 23
4637
Odoo 16 package requires python-requests in one version, but the TicketBAI addon requires python-requests in another version
addons
Avatar
0
de set. 23
4507
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