Project

General

Profile

Install Odoo with OCA repository » History » Revision 8

Revision 7 (Olivier Bitsch, 01/29/2023 03:43 PM) → Revision 8/18 (Olivier Bitsch, 01/29/2023 03:45 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 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.