What is the default modules folder in Odoo ?

I host my Odoo servers on Centos 7 and Debian Linux. This short answer is also right for any Linux distribution using packages downloaded from Odoo website either RPM (Red-Hat, SuSE, Mageia, …) or DEB (Ubuntu, Linux Mint, …).

Odoo RPM and DEB packages comes with 2 default modules folder :

  1. Python packages folder which is default addons folder in odoo.conf. It is used only by packages (rpm, deb and Python packages). It is reserved for Odoo default modules, do not use it. Rpm and Deb use quite the same folder :
    • For RPM (Centos 7) it is /usr/lib/python2.7/site-packages/odoo/addons
    • For DEB (Debian 9) it is /usr/lib/python2.7/dist-packages/odoo/addons
  2. Customized addons folder which is not writed in odoo.conf as it is allways read. It is a good location for your downloaded modules.
    • For RPM (Centos 7) it is /var/lib/odoo/addons/[Odoo #version]
    • For DEB (Debian 9) it is /var/lib/odoo/.local/share/Odoo/addons/[Odoo #version]

You can allways add several modules folder at you prefered locations, as long as you add those locations path in /etc/odoo/odoo.conf