95 lines
1.9 KiB
Markdown
95 lines
1.9 KiB
Markdown
# Development area
|
|
|
|
Repos for various parts of the Odoo platform.
|
|
|
|
To be installed into this directory structure:
|
|
|
|
```
|
|
/opt/odoo --+-- /core [Core Odoo project and included addons]
|
|
|
|
|
+-- /custom [Modules developed in-house]
|
|
|
|
|
+-- /community [Modules by OCA]
|
|
|
|
|
+-- /apps [Modules bought from third parties in the Odoo Apps Store]
|
|
|
|
|
+-- /vendor [Modules developed by an Odoo partner under contract]
|
|
```
|
|
|
|
## Repositories
|
|
|
|
### Odoo 14.0
|
|
|
|
**Location:** `/odoo`
|
|
|
|
To clone from source:
|
|
|
|
```sh
|
|
git clone --single-branch --branch 14.0 https://github.com/odoo/odoo.git
|
|
```
|
|
|
|
To install into the production structure:
|
|
|
|
```sh
|
|
sudo rsync -av --exclude .git --chown odoo:odoo ./odoo/ /opt/odoo/core
|
|
```
|
|
|
|
### Avancys v14 for Agofer
|
|
|
|
**Location:** `/v14_avancys_agofer`
|
|
|
|
To clone from source:
|
|
|
|
```sh
|
|
git clone git@gitlab.com:mgarcia.avancys/v14_avancys_agofer.git
|
|
```
|
|
|
|
To install into the production structure:
|
|
|
|
```sh
|
|
sudo rsync -av --exclude .git --exclude-from=rejected_proprietary_modules.txt \
|
|
--chown=odoo:odoo ./v14_avancys_agofer/ /opt/odoo/vendor/
|
|
```
|
|
|
|
### Custom in-house modules
|
|
|
|
**Location:** `/Extended`
|
|
|
|
To clone from source:
|
|
|
|
```sh
|
|
git clone ssh://git@gitea.agofer.net:22001/Agofer/Extended.git
|
|
```
|
|
|
|
To install into the production structure:
|
|
|
|
```sh
|
|
sudo rsync -av --exclude .git --chown=odoo:odoo ./Extended/ /opt/odoo/custom/
|
|
```
|
|
|
|
### Modules by Odoo Community Association
|
|
|
|
**Location:** `/Community`
|
|
|
|
To clone from source:
|
|
|
|
```sh
|
|
git clone --recurse-submodules \
|
|
ssh://git@gitea.agofer.net:22001/Agofer/Community.git
|
|
```
|
|
|
|
Subsequent updates:
|
|
```
|
|
git pull --recurse-submodules
|
|
```
|
|
|
|
To install into the production structure:
|
|
|
|
```sh
|
|
for i in $(cat selected_oca_modules.txt)
|
|
do sudo rsync -av --exclude .git --chown odoo:odoo ./Community/oca/${i%/} \
|
|
/opt/odoo/community/
|
|
done
|
|
```
|
|
|