Install Odoo with OCA repository » History » Revision 12
Revision 11 (Olivier Bitsch, 10/05/2023 11:44 AM) → Revision 12/18 (Olivier Bitsch, 10/05/2023 11:44 AM)
# How to use Odoo OCA repository ## Requirements Install Odoo ~~~ 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} | gpg -o /etc/apt/trusted.gpg.d/${PACKAGE}.gpg --dearmor echo "deb [signed-by=/etc/apt/trusted.gpg.d/${PACKAGE}.gpg] ${APT_URL}" > /etc/apt/sources.list.d/${NAME}.list apt update apt install ${PACKAGE} ~~~ ## Process Create new repository file for APT with the following commands. ~~~ echo "deb [trusted=yes] https://projects.iabsis.com/repository/odoo-oca/debian ${VERSION} main" > /etc/apt/sources.list.d/odoo-oca.list apt update ~~~ 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. 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 ~~~