Community mailing list archives


Re: custom folder addons

Voedsel.Coop, Ronald Wopereis
- 20/06/2016 07:00:29

In the last error line right after directory it says : forwardslash, then whitespace, and then the directory name.
Perhaps you backslashed the newline?

Try the following:
Right after the original addons directory you type a comma, then a newline, and then perhaps some whitespace and finally your custom addons path.


Op 20 jun. 2016 12:22 schreef "Administracio" <>:

When I update. This error appears:

Odoo Server Error

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/openerp/", line 540, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 577, in dispatch
    result = self._call_function(**self.params)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 313, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/service/", line 118, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 310, in checked_call
    return self.endpoint(*a, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 806, in __call__
    return self.method(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 406, in response_wrap
    response = f(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/", line 948, in call_button
    action = self._call_kw(model, method, args, {})
  File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/", line 936, in _call_kw
    return getattr(request.registry.get(model), method)(, request.uid, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 268, in wrapper
    return old_api(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 439, in old_api
    result = new_api(recs, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 443, in new_api
    result = [method(rec, *args, **kwargs) for rec in self]
  File "/usr/lib/python2.7/dist-packages/openerp/addons/base/module/wizard/", line 15, in update_module
    self.updated, self.added = self.env['ir.module.module'].update_list()
  File "/usr/lib/python2.7/dist-packages/openerp/", line 266, in wrapper
    return new_api(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 508, in new_api
    result = method(self._model, cr, uid, *args, **old_kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/base/module/", line 615, in update_list
    for mod_name in modules.get_modules():
  File "/usr/lib/python2.7/dist-packages/openerp/modules/", line 351, in get_modules
  File "/usr/lib/python2.7/dist-packages/openerp/modules/", line 346, in listdir
    return map(clean, filter(is_really_module, os.listdir(dir)))
OSError: [Errno 2] No such file or directory: '/ /usr/lib/python2.7/dist-packages/openerp/custom-addons'

Laura Muñoz
Departament de Disseny
SYC Cylinders Europe, SA
Huelva, 1
08940 Cornellà de Llobregat

T 93 336 36 17
F 93 335 81 22

El 20 jun 2016, a las 12:09, Administracio <> escribió:

<span id="cid:6AA6D148-3685-4A61-9190-D6BBCC652F39@Home"><PastedGraphic-2.tiff>


I want to add a custom folder for addons but Odoo doesn’t recognize line added.

In my case I have the “conf” file on /etc/odoo

And the file is: opener-server.conf


; 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
logfile = /var/log/odoo/odoo-server.log


On the line “addons_path” I add the next information:

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

I reboot the server and I put any module, I go to backend Odoo, I update modules, and it doesn’t appears. 

What is happening?

Thank you!

Laura Muñoz
Departament de Disseny
SYC Cylinders Europe, SA
Huelva, 1
08940 Cornellà de Llobregat

T 93 336 36 17
F 93 335 81 22

Post to: