Prepares a development environment, with instructions for how to clone the different repositories that make up the Odoo platform
Go to file
2020-12-29 21:16:29 -05:00
.gitignore Ignores downloaded repos 2020-12-22 23:40:51 -05:00
install_all.sh FIX syntax error in script 2020-12-22 23:45:15 -05:00
README.md [DOC] Uses Unicode for box-drawing 2020-12-29 21:16:29 -05:00
rejected_proprietary_modules.txt Initial version 2020-12-22 22:05:27 -05:00
selected_oca_modules.txt Initial version 2020-12-22 22:05:27 -05:00

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:

git clone --single-branch --depth 1 --branch 14.0 https://github.com/odoo/odoo.git

To install into the production structure:

sudo rsync -av --exclude .git --chown odoo:odoo ./odoo/ /opt/odoo/core

Avancys v14 for Agofer

Location: /v14_avancys_agofer

To clone from source:

git clone git@gitlab.com:mgarcia.avancys/v14_avancys_agofer.git

To install into the production structure:

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:

git clone ssh://git@gitea.agofer.net:22001/Agofer/Extended.git

To install into the production structure:

sudo rsync -av --exclude .git --chown=odoo:odoo ./Extended/ /opt/odoo/custom/

Modules by Odoo Community Association

Location: /Community

To clone from source:

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:

for i in $(cat selected_oca_modules.txt)
do sudo rsync -av --exclude .git --chown odoo:odoo ./Community/oca/${i%/} \
  /opt/odoo/community/
done