[IMP] openerp-server.conf: custom addons take priority over odoo addons

Moving the extra addons folder before the odoo addons folder in the addons_path
allows to use custom implementation of a given addon (if there are two addons
with the same name, one in extra-addons, the other in openerp/addons, the first
one will take priority over the second one which will simply be ignored).
This commit is contained in:
Aaron Bohy 2015-10-08 10:17:16 +02:00
parent 3b21d6757b
commit 4df13f1425

View File

@ -1,5 +1,5 @@
[options]
addons_path = /usr/lib/python2.7/dist-packages/openerp/addons,/mnt/extra-addons
addons_path = /mnt/extra-addons,/usr/lib/python2.7/dist-packages/openerp/addons
data_dir = /var/lib/odoo
auto_reload = True
; admin_passwd = admin