Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

addons_path issue

By
Tom
on 9/28/16, 8:20 AM 177 views

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?

2

Bejaoui Souheil

--Bejaoui Souheil--
808
| 2 1 4
Sousse, Tunisia
--Bejaoui Souheil--

Odoo developer,  functional and technical consultant

souheil_bejaoui@hotmail.fr

Bejaoui Souheil
On 9/28/16, 9:35 AM

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.

0
Tom
On 9/28/16, 2:19 PM

  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'."

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

Bejaoui Souheil
on 9/28/16, 4:18 PM

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
on 9/28/16, 11:06 PM

Ok, it works.

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

Tom
on 9/28/16, 11:23 PM

Thanks Bejaoui

Tom
on 9/28/16, 11:23 PM

Welcome :)

Bejaoui Souheil
on 10/1/16, 4:44 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/28/16, 8:20 AM
Seen: 177 times
Last updated: 10/1/16, 4:44 AM