Install Odoo with OCA repository » History » Revision 10
Revision 9 (Olivier Bitsch, 01/29/2023 04:28 PM) → Revision 10/18 (Olivier Bitsch, 10/05/2023 11:43 AM)
# How to use Odoo OCA repository ## Requirements Install Before doing OCA module installation, you assume that Odoo is properly installed. > https://www.odoo.com/documentation/15.0/administration/install/install.html#repository Or with the following commands ~~~ VERSION=16.0 # Define the version you want here NAME=odoo KEY_URL="https://nightly.odoo.com/odoo.key" APT_URL="http://nightly.odoo.com/${VERSION}/nightly/deb/ ./" curl -fsSL ${KEY_URL} wget -O - https://nightly.odoo.com/odoo.key | gpg -o /etc/apt/trusted.gpg.d/${PACKAGE}.gpg --dearmor apt-key add - echo "deb [signed-by=/etc/apt/trusted.gpg.d/${PACKAGE}.gpg] ${APT_URL}" > /etc/apt/sources.list.d/${NAME}.list http://nightly.odoo.com/15.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list apt update && apt install ${PACKAGE} -y odoo ~~~ ## Process 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* ~~~ For a complete list of module, read [[List of modules]] page.