Install Odoo with OCA repository » History » Revision 7
Revision 6 (Olivier Bitsch, 01/26/2023 02:58 PM) → Revision 7/18 (Olivier Bitsch, 01/29/2023 03:43 PM)
# How to use Odoo OCA repository ## Requirements Before doing OCA module installation, you assume that Odoo is properly installed. ~~~ # > https://www.odoo.com/documentation/15.0/administration/install/install.html#repository wget -O - https://nightly.odoo.com/odoo.key | apt-key add - echo "deb http://nightly.odoo.com/15.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list apt update && apt install -y odoo ~~~ ## Process Create Simply create new repository file for APT with the following commands. ~~~ ODOO_VERSION=15.0 echo "deb [trusted=yes] https://projects.iabsis.com/repository/odoo-oca/debian ${ODOO_VERSION} main" > /etc/apt/sources.list.d/odoo-oca.list ~~~ Then add the OCA path into you `/etc/odoo/odoo.conf` config file ~~~ addons_path = /usr/share/odoo-oca/,/usr/lib/python3/dist-packages/odoo/addons ~~~ Restart Odoo to care the new config file ~~~ systemctl restart odoo ~~~ List all modules ~~~ apt search odoo-oca ~~~ Install all modules (probably not required for your instance). ~~~ apt install odoo-oca* ~~~