Project

General

Profile

Install Odoo with OCA repository » History » Version 9

Olivier Bitsch, 01/29/2023 04:28 PM

1 1 Olivier Bitsch
# How to use Odoo OCA repository
2
3 7 Olivier Bitsch
## Requirements
4 1 Olivier Bitsch
5 7 Olivier Bitsch
Before doing OCA module installation, you assume that Odoo is properly installed.
6
7 9 Olivier Bitsch
> https://www.odoo.com/documentation/15.0/administration/install/install.html#repository
8
9
Or with the following commands
10
11 7 Olivier Bitsch
~~~
12
wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
13
echo "deb http://nightly.odoo.com/15.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list
14
apt update && apt install -y odoo
15
~~~
16
17
## Process
18
19
Create new repository file for APT with the following commands.
20
21
~~~
22 5 Olivier Bitsch
ODOO_VERSION=15.0
23 3 Olivier Bitsch
echo "deb [trusted=yes] https://projects.iabsis.com/repository/odoo-oca/debian ${ODOO_VERSION} main" > /etc/apt/sources.list.d/odoo-oca.list
24
~~~
25
26
Then add the OCA path into you `/etc/odoo/odoo.conf` config file
27
28
~~~
29
addons_path = /usr/share/odoo-oca/,/usr/lib/python3/dist-packages/odoo/addons
30 1 Olivier Bitsch
~~~
31 3 Olivier Bitsch
32 7 Olivier Bitsch
Restart Odoo to care the new config file
33 3 Olivier Bitsch
34
~~~
35 1 Olivier Bitsch
systemctl restart odoo
36
~~~
37
38 7 Olivier Bitsch
List all modules
39
40
~~~
41
apt search odoo-oca
42
~~~
43
44
Install all modules (probably not required for your instance).
45 3 Olivier Bitsch
46
~~~
47 6 Olivier Bitsch
apt install odoo-oca*
48 3 Olivier Bitsch
~~~
49 8 Olivier Bitsch
50
For a complete list of module, read [[List of modules]] page.