Install Odoo with OCA repository » History » Version 6
Olivier Bitsch, 01/26/2023 02:58 PM
| 1 | 1 | Olivier Bitsch | # How to use Odoo OCA repository |
|---|---|---|---|
| 2 | |||
| 3 | Simply create new file with |
||
| 4 | |||
| 5 | 2 | Olivier Bitsch | ~~~ |
| 6 | 5 | Olivier Bitsch | ODOO_VERSION=15.0 |
| 7 | echo "deb [trusted=yes] https://projects.iabsis.com/repository/odoo-oca/debian ${ODOO_VERSION} main" > /etc/apt/sources.list.d/odoo-oca.list |
||
| 8 | 2 | Olivier Bitsch | ~~~ |
| 9 | 3 | Olivier Bitsch | |
| 10 | Then add the OCA path into you `/etc/odoo/odoo.conf` config file |
||
| 11 | |||
| 12 | ~~~ |
||
| 13 | addons_path = /usr/share/odoo-oca/,/usr/lib/python3/dist-packages/odoo/addons |
||
| 14 | ~~~ |
||
| 15 | |||
| 16 | Restart Odoo |
||
| 17 | |||
| 18 | ~~~ |
||
| 19 | systemctl restart odoo |
||
| 20 | ~~~ |
||
| 21 | |||
| 22 | 6 | Olivier Bitsch | Install all modules |
| 23 | 3 | Olivier Bitsch | |
| 24 | ~~~ |
||
| 25 | 6 | Olivier Bitsch | apt install odoo-oca* |
| 26 | 3 | Olivier Bitsch | ~~~ |