From 7727ca0a68fe7ff728e2eb47adc2a15b7c9d2141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20E=2E=20G=C3=B3mez?= Date: Tue, 22 Dec 2020 22:05:27 -0500 Subject: [PATCH] Initial version --- README.md | 94 ++++++++++++++++++++++++++++++++ rejected_proprietary_modules.txt | 2 + selected_oca_modules.txt | 16 ++++++ 3 files changed, 112 insertions(+) create mode 100644 README.md create mode 100644 rejected_proprietary_modules.txt create mode 100644 selected_oca_modules.txt diff --git a/README.md b/README.md new file mode 100644 index 0000000..a9b556c --- /dev/null +++ b/README.md @@ -0,0 +1,94 @@ +# 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 +``` + diff --git a/rejected_proprietary_modules.txt b/rejected_proprietary_modules.txt new file mode 100644 index 0000000..b4b9bc6 --- /dev/null +++ b/rejected_proprietary_modules.txt @@ -0,0 +1,2 @@ +account_accountant +mail_enterprise diff --git a/selected_oca_modules.txt b/selected_oca_modules.txt new file mode 100644 index 0000000..4e2adb4 --- /dev/null +++ b/selected_oca_modules.txt @@ -0,0 +1,16 @@ +account-analytic/account_analytic_distribution +account-analytic/purchase_analytic_distribution +account-analytic/sale_analytic_distribution +account-financial-tools/account_asset_management +account-financial-tools/account_fiscal_year +bank-payment/account_payment_mode +bank-payment/account_payment_order +bank-payment/account_payment_partner +contract/contract +credit-control/account_credit_control +helpdesk/helpdesk_mgmt +knowledge/knowledge +server-backend/base_user_role +server-ux/date_range +stock-logistics-warehouse/stock_cycle_count +timesheet/hr_timesheet_sheet/