Project

General

Profile

Actions

Install Odoo with OCA repository » History » Revision 9

« Previous | Revision 9/18 (diff) | Next »
Olivier Bitsch, 01/29/2023 04:28 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

Or with the following commands

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 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.

Updated by Olivier Bitsch almost 2 years ago · 9 revisions