Merge pull request #2 from ERPLibre/release/1.0.0

Release/1.0.0
This commit is contained in:
Mathieu Benoit 2020-07-05 23:25:39 -04:00 committed by GitHub
commit d2e3aeb3ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
135 changed files with 1570 additions and 1333 deletions

4
.gitignore vendored
View file

@ -8,3 +8,7 @@ venv
config.conf
*.DS_Store
*.pyc
.repo
addons
odoo

261
.gitmodules vendored
View file

@ -1,261 +0,0 @@
[submodule "addons/ERPLibre_erplibre_addons"]
url = https://github.com/ERPLibre/erplibre_addons.git
path = addons/ERPLibre_erplibre_addons
[submodule "addons/MathBenTech_development"]
url = https://github.com/ERPLibre/development.git
path = addons/MathBenTech_development
[submodule "addons/MathBenTech_odoo-business-spending-management-quebec-canada"]
url = https://github.com/ERPLibre/odoo-business-spending-management-quebec-canada.git
path = addons/MathBenTech_odoo-business-spending-management-quebec-canada
[submodule "addons/MathBenTech_scrummer"]
url = https://github.com/ERPLibre/scrummer.git
path = addons/MathBenTech_scrummer
[submodule "addons/muk-it_muk_base"]
url = https://github.com/ERPLibre/muk_base.git
path = addons/muk-it_muk_base
[submodule "addons/muk-it_muk_dms"]
url = https://github.com/ERPLibre/muk_dms.git
path = addons/muk-it_muk_dms
[submodule "addons/muk-it_muk_docs"]
url = https://github.com/ERPLibre/muk_docs.git
path = addons/muk-it_muk_docs
[submodule "addons/muk-it_muk_misc"]
url = https://github.com/ERPLibre/muk_misc.git
path = addons/muk-it_muk_misc
[submodule "addons/muk-it_muk_quality"]
url = https://github.com/ERPLibre/muk_quality.git
path = addons/muk-it_muk_quality
[submodule "addons/muk-it_muk_web"]
url = https://github.com/ERPLibre/muk_web.git
path = addons/muk-it_muk_web
[submodule "addons/muk-it_muk_website"]
url = https://github.com/ERPLibre/muk_website.git
path = addons/muk-it_muk_website
[submodule "addons/Numigi_odoo-base-addons"]
url = https://github.com/ERPLibre/odoo-base-addons.git
path = addons/Numigi_odoo-base-addons
[submodule "addons/Numigi_odoo-entertainment-addons"]
url = https://github.com/ERPLibre/odoo-entertainment-addons.git
path = addons/Numigi_odoo-entertainment-addons
[submodule "addons/Numigi_odoo-git-addons"]
url = https://github.com/ERPLibre/odoo-git-addons.git
path = addons/Numigi_odoo-git-addons
[submodule "addons/Numigi_odoo-hr-addons"]
url = https://github.com/ERPLibre/odoo-hr-addons.git
path = addons/Numigi_odoo-hr-addons
[submodule "addons/Numigi_odoo-partner-addons"]
url = https://github.com/ERPLibre/odoo-partner-addons.git
path = addons/Numigi_odoo-partner-addons
[submodule "addons/Numigi_odoo-product-addons"]
url = https://github.com/ERPLibre/odoo-product-addons.git
path = addons/Numigi_odoo-product-addons
[submodule "addons/Numigi_odoo-project-addons"]
url = https://github.com/ERPLibre/odoo-project-addons.git
path = addons/Numigi_odoo-project-addons
[submodule "addons/Numigi_odoo-purchase-addons"]
url = https://github.com/ERPLibre/odoo-purchase-addons.git
path = addons/Numigi_odoo-purchase-addons
[submodule "addons/Numigi_odoo-stock-addons"]
url = https://github.com/ERPLibre/odoo-stock-addons.git
path = addons/Numigi_odoo-stock-addons
[submodule "addons/Numigi_odoo-survey-addons"]
url = https://github.com/ERPLibre/odoo-survey-addons.git
path = addons/Numigi_odoo-survey-addons
[submodule "addons/Numigi_odoo-timesheet-addons"]
url = https://github.com/ERPLibre/odoo-timesheet-addons.git
path = addons/Numigi_odoo-timesheet-addons
[submodule "addons/Numigi_odoo-web-addons"]
url = https://github.com/ERPLibre/odoo-web-addons.git
path = addons/Numigi_odoo-web-addons
[submodule "addons/OCA_account-analytic"]
url = https://github.com/ERPLibre/account-analytic.git
path = addons/OCA_account-analytic
[submodule "addons/OCA_account-budgeting"]
url = https://github.com/ERPLibre/account-budgeting.git
path = addons/OCA_account-budgeting
[submodule "addons/OCA_account-closing"]
url = https://github.com/ERPLibre/account-closing.git
path = addons/OCA_account-closing
[submodule "addons/OCA_account-consolidation"]
url = https://github.com/ERPLibre/account-consolidation.git
path = addons/OCA_account-consolidation
[submodule "addons/OCA_account-financial-reporting"]
url = https://github.com/ERPLibre/account-financial-reporting.git
path = addons/OCA_account-financial-reporting
[submodule "addons/OCA_account-financial-tools"]
url = https://github.com/ERPLibre/account-financial-tools
path = addons/OCA_account-financial-tools
[submodule "addons/OCA_account-fiscal-rule"]
url = https://github.com/ERPLibre/account-fiscal-rule.git
path = addons/OCA_account-fiscal-rule
[submodule "addons/OCA_account-invoicing"]
url = https://github.com/ERPLibre/account-invoicing.git
path = addons/OCA_account-invoicing
[submodule "addons/OCA_account-invoice-reporting"]
url = https://github.com/ERPLibre/account-invoice-reporting.git
path = addons/OCA_account-invoice-reporting
[submodule "addons/OCA_account-payment"]
url = https://github.com/ERPLibre/account-payment.git
path = addons/OCA_account-payment
[submodule "addons/OCA_account-reconcile"]
url = https://github.com/ERPLibre/account-reconcile.git
path = addons/OCA_account-reconcile
[submodule "addons/OCA_apps-store"]
url = https://github.com/ERPLibre/apps-store.git
path = addons/OCA_apps-store
[submodule "addons/OCA_bank-payment"]
url = https://github.com/ERPLibre/bank-payment.git
path = addons/OCA_bank-payment
[submodule "addons/OCA_bank-statement-import"]
url = https://github.com/ERPLibre/bank-statement-import.git
path = addons/OCA_bank-statement-import
[submodule "addons/OCA_brand"]
url = https://github.com/ERPLibre/brand.git
path = addons/OCA_brand
[submodule "addons/OCA_business-requirement"]
url = https://github.com/ERPLibre/business-requirement.git
path = addons/OCA_business-requirement
[submodule "addons/OCA_commission"]
url = https://github.com/ERPLibre/commission.git
path = addons/OCA_commission
[submodule "addons/OCA_community-data-files"]
url = https://github.com/ERPLibre/community-data-files.git
path = addons/OCA_community-data-files
[submodule "addons/OCA_connector-telephony"]
url = https://github.com/ERPLibre/connector-telephony.git
path = addons/OCA_connector-telephony
[submodule "addons/OCA_contract"]
url = https://github.com/ERPLibre/contract.git
path = addons/OCA_contract
[submodule "addons/OCA_credit-control"]
url = https://github.com/ERPLibre/credit-control.git
path = addons/OCA_credit-control
[submodule "addons/OCA_currency"]
url = https://github.com/ERPLibre/currency.git
path = addons/OCA_currency
[submodule "addons/OCA_data-protection"]
url = https://github.com/ERPLibre/data-protection.git
path = addons/OCA_data-protection
[submodule "addons/OCA_donation"]
url = https://github.com/ERPLibre/donation.git
path = addons/OCA_donation
[submodule "addons/OCA_e-commerce"]
url = https://github.com/ERPLibre/e-commerce.git
path = addons/OCA_e-commerce
[submodule "addons/OCA_edi"]
url = https://github.com/ERPLibre/edi.git
path = addons/OCA_edi
[submodule "addons/OCA_event"]
url = https://github.com/ERPLibre/event.git
path = addons/OCA_event
[submodule "addons/OCA_helpdesk"]
url = https://github.com/ERPLibre/helpdesk.git
path = addons/OCA_helpdesk
[submodule "addons/OCA_hr"]
url = https://github.com/ERPLibre/hr.git
path = addons/OCA_hr
[submodule "addons/OCA_knowledge"]
url = https://github.com/ERPLibre/knowledge.git
path = addons/OCA_knowledge
[submodule "addons/OCA_l10n-canada"]
url = https://github.com/ERPLibre/l10n-canada.git
path = addons/OCA_l10n-canada
[submodule "addons/OCA_maintenance"]
url = https://github.com/ERPLibre/maintenance.git
path = addons/OCA_maintenance
[submodule "addons/OCA_management-system"]
url = https://github.com/ERPLibre/management-system.git
path = addons/OCA_management-system
[submodule "addons/OCA_manufacture"]
url = https://github.com/ERPLibre/manufacture.git
path = addons/OCA_manufacture
[submodule "addons/OCA_margin-analysis"]
url = https://github.com/ERPLibre/margin-analysis.git
path = addons/OCA_margin-analysis
[submodule "addons/OCA_mis-builder"]
url = https://github.com/ERPLibre/mis-builder.git
path = addons/OCA_mis-builder
[submodule "addons/OCA_multi-company"]
url = https://github.com/ERPLibre/multi-company.git
path = addons/OCA_multi-company
[submodule "addons/OCA_partner-contact"]
url = https://github.com/ERPLibre/partner-contact.git
path = addons/OCA_partner-contact
[submodule "addons/OCA_pos"]
url = https://github.com/ERPLibre/pos.git
path = addons/OCA_pos
[submodule "addons/OCA_product-attribute"]
url = https://github.com/ERPLibre/product-attribute.git
path = addons/OCA_product-attribute
[submodule "addons/OCA_product-pack"]
url = https://github.com/ERPLibre/product-pack.git
path = addons/OCA_product-pack
[submodule "addons/OCA_product-variant"]
url = https://github.com/ERPLibre/product-variant.git
path = addons/OCA_product-variant
[submodule "addons/OCA_project"]
url = https://github.com/ERPLibre/project.git
path = addons/OCA_project
[submodule "addons/OCA_project-reporting"]
url = https://github.com/ERPLibre/project-reporting.git
path = addons/OCA_project-reporting
[submodule "addons/OCA_purchase-workflow"]
url = https://github.com/ERPLibre/purchase-workflow.git
path = addons/OCA_purchase-workflow
[submodule "addons/OCA_queue"]
url = https://github.com/ERPLibre/queue.git
path = addons/OCA_queue
[submodule "addons/OCA_reporting-engine"]
url = https://github.com/ERPLibre/reporting-engine.git
path = addons/OCA_reporting-engine
[submodule "addons/OCA_sale-workflow"]
url = https://github.com/ERPLibre/sale-workflow.git
path = addons/OCA_sale-workflow
[submodule "addons/OCA_server-auth"]
url = https://github.com/ERPLibre/server-auth.git
path = addons/OCA_server-auth
[submodule "addons/OCA_server-brand"]
url = https://github.com/ERPLibre/server-brand.git
path = addons/OCA_server-brand
[submodule "addons/OCA_server-env"]
url = https://github.com/ERPLibre/server-env.git
path = addons/OCA_server-env
[submodule "addons/OCA_server-tools"]
url = https://github.com/ERPLibre/server-tools.git
path = addons/OCA_server-tools
[submodule "addons/OCA_server-ux"]
url = https://github.com/ERPLibre/server-ux.git
path = addons/OCA_server-ux
[submodule "addons/OCA_social"]
url = https://github.com/ERPLibre/social.git
path = addons/OCA_social
[submodule "addons/OCA_stock-logistics-warehouse"]
url = https://github.com/ERPLibre/stock-logistics-warehouse.git
path = addons/OCA_stock-logistics-warehouse
[submodule "addons/OCA_timesheet"]
url = https://github.com/ERPLibre/timesheet.git
path = addons/OCA_timesheet
[submodule "addons/OCA_web"]
url = https://github.com/ERPLibre/web.git
path = addons/OCA_web
[submodule "addons/OCA_website"]
url = https://github.com/ERPLibre/website.git
path = addons/OCA_website
[submodule "addons/OCA_wms"]
url = https://github.com/ERPLibre/wms.git
path = addons/OCA_wms
[submodule "odoo"]
url = https://github.com/ERPLibre/odoo.git
path = odoo
[submodule "addons/odooaktiv_QuotationRevision"]
url = https://github.com/ERPLibre/QuotationRevision.git
path = addons/odooaktiv_QuotationRevision
[submodule "addons/openeducat_openeducat_erp"]
url = https://github.com/ERPLibre/openeducat_erp.git
path = addons/openeducat_openeducat_erp
[submodule "addons/SanteLibre_santelibre_addons"]
url = https://github.com/ERPLibre/santelibre_addons.git
path = addons/SanteLibre_santelibre_addons
[submodule "addons/Smile-SA_odoo_addons"]
url = https://github.com/ERPLibre/odoo_addons.git
path = addons/Smile-SA_odoo_addons

47
CHANGELOG.md Normal file
View file

@ -0,0 +1,47 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Added
- Docker
### Changed
- Update to Odoo Community 12.0
### Fixed
- Web module display
## [1.0.0] - 2020-07-04
### Added
- Environment of development, discovery and production with documentation and script.
- git-repo of Google to support addons repository instead of using Git submodule.
### Removed
- Git submodule
## [0.1.1] - 2020-04-28
### Added
- Support helpdesk supplier, helper, employee and services
- Support [SanteLibre.ca](https://santelibre.ca) with MRP, website, hr, ecommerce
- Donation module with thermometer for website
- Script to fork project and all repos in submodule to create ERPLibre
## [0.1.0] - 2020-04-20
### Added
- Move project from https://github.com/mathbentech/InstallScript to ERPLibre.
- Support of Odoo Community 12.0 2019-11-19 94bcbc92e5e5a6fd3de7267e3c01f8c11fb045f4.
### Changed
- Support scrummer, project, sale, website, helpdesk and hr
- Support Nginx and improve installation
### Fixed
- Support only python3.6 and python3.7, python3.8 causes error in runtime.
[Unreleased]: http://git.erplibre.ca/ERPLibre/compare/v1.0.0...HEAD
[1.0.0]: http://git.erplibre.ca/ERPLibre/compare/v0.1.1...v1.0.0
[0.1.1]: http://git.erplibre.ca/ERPLibre/compare/v0.1.0...v0.1.1
[0.1.0]: http://git.erplibre.ca/ERPLibre/releases/tag/v0.1.0

View file

@ -1,7 +0,0 @@
# ERPLibre
## Move database prod to dev
When moving database prod to your dev environment, you want to remove email servers, and install user test to test the database.
Run :
> -c config.conf --stop-after-init -i user_test,disable_mail_server --dev all -d DATABASE

View file

@ -1,4 +0,0 @@
# How to clone me
First,
pip install -r requirements.txt

View file

@ -1,7 +0,0 @@
# ERPLibre
## Move database prod to dev
When moving database prod to your dev environment, you want to remove email servers, and install user test to test the database.
Run :
> -c config.conf --stop-after-init -i user_test,disable_mail_server --dev all -d DATABASE

View file

@ -1,58 +1,17 @@
# ERPLibre
# ERPLibre documentation
Select a guide to install your environment!
## Installation procedure production
## Discover guide
[Guide to run ERPLibre in discover to learn it](./doc/DISCOVER.md).
##### 1. Clone the project:
```
git clone https://github.com/ERPLibre/ERPLibre.git
```
##### 2. Modify the parameters
Modify the file env_var.sh for production installation.
## Production guide
[Guide to run ERPLibre in production server](./doc/PRODUCTION.md).
##### 3. Execute the script:
```
sudo ./script/odoo_install_production.sh
```
## Installation procedure locally
##### 1. Clone the project:
```
git clone https://github.com/ERPLibre/ERPLibre.git
```
##### 2. Execute the script:
```
sudo ./script/odoo_install_locally.sh
```
## Development guide
[Guide to run ERPLibre in development environment](./doc/DEVELOPMENT.md).
# Execution
## First run
```
source ./venv/bin/activate
python odoo/odoo-bin -c config.conf --log-level debug
```
[Guide to run ERPLibre with different case](./doc/RUN.md).
## Update all
Great idea to run it when update Odoo, update database of each modules.
```
python odoo/odoo-bin -c config.conf -d [DATABASE] -u all --log-level debug
```
## Update module
```
python odoo/odoo-bin -c config.conf -d [DATABASE] -u [module] --log-level debug
```
## Test
```
python odoo/odoo-bin -c config.conf -d [DATABASE] -i [module to test] --test-enable --stop-after-init --log-level=test --test-tags [module_name][tags]
```
# Production
```
python odoo/odoo-bin -c config.conf -d [DATABASE] --no-database-list
```
# Thanks
Thanks Yenthe Van Ginneken for your guides.
# git-repo
To change repository like addons, see [GIT_REPO.md](doc/GIT_REPO.md)

@ -1 +0,0 @@
Subproject commit e68263793556cc0ec0af91be612421613b5cf7a2

@ -1 +0,0 @@
Subproject commit 097a5002dd6ec91512406f3add8bb7cad5372218

@ -1 +0,0 @@
Subproject commit 745cb2ec3df909e6f3622b4ef19971e6e83b46b5

@ -1 +0,0 @@
Subproject commit 38c04c8f7b7fe897d166ded74dda9d8d76f7f4c4

@ -1 +0,0 @@
Subproject commit 60bc1e5414ff3bf81a6d72831da2eaad94ccbcb2

@ -1 +0,0 @@
Subproject commit 82c33255261eff361a91da13b28e4e68a95b25dd

@ -1 +0,0 @@
Subproject commit 96db417669a631877c1439f617ac8c0cc6edfff9

@ -1 +0,0 @@
Subproject commit 0034395bcdb38c02749644607f43ccac760dfb49

@ -1 +0,0 @@
Subproject commit f0c54ffb3409cd8e748ae5db19077c7c966cd57f

@ -1 +0,0 @@
Subproject commit 36751bd3c6baced6a0b3f5ddb675d87cb04a745c

@ -1 +0,0 @@
Subproject commit 4388a4ca61b87032e2c3783dc2740b299cd31b6f

@ -1 +0,0 @@
Subproject commit 5d226ca3887c77e31467a192a0fbe4066bf7842c

@ -1 +0,0 @@
Subproject commit 3fe57c3cad122d5a448239b46fda8bf76ea32493

@ -1 +0,0 @@
Subproject commit 9e897bae38ff0d6d3180296a552d994bb10c0eff

@ -1 +0,0 @@
Subproject commit d2bbb19dc8f917272694ff0a6231275083fb7e74

@ -1 +0,0 @@
Subproject commit 3a4aa46439a794429d5939cff561f42c4f312a99

@ -1 +0,0 @@
Subproject commit 7ce9fe25a7c977c5338001bc32d58b1cadffe51e

@ -1 +0,0 @@
Subproject commit e175ffa84fb61f70de67a2732292e43bd490cefd

@ -1 +0,0 @@
Subproject commit 40d40c73574bf65c91c879e0607b4ac455df06b2

@ -1 +0,0 @@
Subproject commit 741fc50366bd70fceb88a2a3fcb0449b2582ed31

@ -1 +0,0 @@
Subproject commit 1e0f8301ca015b3c4c456401bc30c5f211ccae3f

@ -1 +0,0 @@
Subproject commit 9721abd4c9db653e1d009f8a023e9f750523989f

@ -1 +0,0 @@
Subproject commit f396ba6a2e2acebaaff579f0e6991b669812d64d

@ -1 +0,0 @@
Subproject commit 320dd9fce4d212b2dcf5dc4447494964ad1e246d

@ -1 +0,0 @@
Subproject commit 9db1c104341f422b8545c3f2906d83bcb69d46ac

@ -1 +0,0 @@
Subproject commit 888debebd8e42c1ee5107577ca2f3bc5f38d72e1

@ -1 +0,0 @@
Subproject commit 0390b112def3d362d95232d382317511616ee6dd

@ -1 +0,0 @@
Subproject commit 022d24db4c6463f38b9f4452fe03c9fb8b3a44ce

@ -1 +0,0 @@
Subproject commit 7e0e572fb4772c8ebacfe52d58c396bdbd9e01f9

@ -1 +0,0 @@
Subproject commit 198306503b51371c8603fd8defef65fcd82bf954

@ -1 +0,0 @@
Subproject commit 601a8c5c741b3035000f2337feab16325e6b9a49

@ -1 +0,0 @@
Subproject commit dd74e74583861b44c6120473ba0b56c90b887334

@ -1 +0,0 @@
Subproject commit e679120a6d8f910cba81d949ecddd7b89f48fc01

@ -1 +0,0 @@
Subproject commit 2b17e5567d1bcb8ca377268615f209fdd57dc66e

@ -1 +0,0 @@
Subproject commit 6d9df1037a97dbf791a7f0a717846a63144174bb

@ -1 +0,0 @@
Subproject commit 3e531348cb51aeb2cc16c16ab8a2b693756ba47f

@ -1 +0,0 @@
Subproject commit a97496a829cadc0d9be07d7825e93062417ab670

@ -1 +0,0 @@
Subproject commit 5c0d54e37789ecc24bebbe53fa56a92a492575bb

@ -1 +0,0 @@
Subproject commit ce4f334a1077b5c15d457f22daaa48b9f639409e

@ -1 +0,0 @@
Subproject commit aa6478a72c9673ad6458de19aa2362397c613fae

@ -1 +0,0 @@
Subproject commit d7c99e565f25b495b3c0d252f181d8df4490a757

@ -1 +0,0 @@
Subproject commit 742b1316773f8a1b224e42c65c3c3a7685481a30

@ -1 +0,0 @@
Subproject commit e2bdf12c61e9967eeb9abc618c79ca43b464ea7f

@ -1 +0,0 @@
Subproject commit 6b84f81c81ff3184526c0ca86ced7bbcdcc4c0b3

@ -1 +0,0 @@
Subproject commit 4743acf7ab796ea3738743a44c62cd516126ec53

@ -1 +0,0 @@
Subproject commit 9ae45f798bbefa854b03f612e22291ac1b95568d

@ -1 +0,0 @@
Subproject commit 5680b485cdfa0b6f1c2f4e32356b5938a9752c00

@ -1 +0,0 @@
Subproject commit 4e521ec35f6e8b66f86a62db644dadc9206b476e

@ -1 +0,0 @@
Subproject commit 479afcc65ee29530e2bcaa7342f93b6783d14d97

@ -1 +0,0 @@
Subproject commit ce36844281754a75b527c4ace21837c8a16b75ab

@ -1 +0,0 @@
Subproject commit 4a50437ecfa591a72e12255448d38d0fb1037a42

@ -1 +0,0 @@
Subproject commit 5d7697296ad90794599373940e6fc6cead8ca1a2

@ -1 +0,0 @@
Subproject commit fdb4d255b6a3b51925f8a226bfebf2eccabd2786

@ -1 +0,0 @@
Subproject commit a79e57685caad7d0dec9318378fdd46862e31be4

@ -1 +0,0 @@
Subproject commit 6a922b3d87491d59128a097f286be1e3f3fc11df

@ -1 +0,0 @@
Subproject commit ea48097094462e67d7e1558b333da78c6038b89c

@ -1 +0,0 @@
Subproject commit b9eccbdb9ae0fdd3ed1138270c3eff3142a015c3

@ -1 +0,0 @@
Subproject commit fb4f4042b3ca0ee6cde6ab0625e2c914b96b174f

@ -1 +0,0 @@
Subproject commit 4390f1ffa9f00058b0d1aa7fae27fb74bbefb83b

@ -1 +0,0 @@
Subproject commit 7f71f086dd732170e7605dfdf80e6cc4969a711e

@ -1 +0,0 @@
Subproject commit d17436791bcfbe0985af137163564af3fe90bbe1

@ -1 +0,0 @@
Subproject commit 0b71a3951b583f154f170adacf4920e6d7138329

@ -1 +0,0 @@
Subproject commit 14fba657a0dbda1258edcf3c92886866e7cecf67

@ -1 +0,0 @@
Subproject commit 4b200358312689d944aaaf012c5723bb2bc9cb77

@ -1 +0,0 @@
Subproject commit f911c9f31a064cca3012431b70e60a7b89448138

@ -1 +0,0 @@
Subproject commit d8f27b04475d3cc74a7bebb1e086f647f5e01569

@ -1 +0,0 @@
Subproject commit 19af535b3aedd5c1fdfbe911dacfc43ae31edb71

@ -1 +0,0 @@
Subproject commit d97aaa9fa2f01f64ebf7100668e0901fde35d42f

@ -1 +0,0 @@
Subproject commit 655b3cc291a7e3718371a45ebe6f2e0952896adf

@ -1 +0,0 @@
Subproject commit 7b0836bf7a5c40db332dd90d5ebef619234060ac

@ -1 +0,0 @@
Subproject commit a591de15150f7b16c1ef23d2fc30c814874dea27

@ -1 +0,0 @@
Subproject commit 8625e65414801780c91e91bf93b2ed32567f8117

@ -1 +0,0 @@
Subproject commit b65c492f4011fe4e9dac8c0a26eeef8c43cb1c39

@ -1 +0,0 @@
Subproject commit 603a44d53a2e7a457560a0f99bdcc95780399ee5

@ -1 +0,0 @@
Subproject commit e7a1541f8c513cf755bd82780c6c035d2fafc2ce

@ -1 +0,0 @@
Subproject commit ee94058aecee418b3652864f23b54a86ba0f92f4

@ -1 +0,0 @@
Subproject commit 2be318c18ac5b0fe2129cc61d86419033ff07d5f

View file

@ -1 +0,0 @@
Subproject commit d888c9695292295a732fcdd4a7b9820978df5e7f

@ -1 +0,0 @@
Subproject commit 020e604d635a229c09a07e839d95f8e37706606a

@ -1 +0,0 @@
Subproject commit a8ea02b9f00ae9fe5d2ea25ac43d23532cc11d45

@ -1 +0,0 @@
Subproject commit 37b9d6dc20fa686a323057b160015bfc2c2c8143

@ -1 +0,0 @@
Subproject commit 1a4c6f25c5e4fe0029d406d6283555bd23a44d27

@ -1 +0,0 @@
Subproject commit 431d86d6694e846b407c84f00a31a10f0cf5b83b

@ -1 +0,0 @@
Subproject commit c1e6c1755d09562f66247832bd01a0d580c43e23

@ -1 +0,0 @@
Subproject commit 701438f9c59bd657de516d9ef4de1ba6167bf30b

@ -1 +0,0 @@
Subproject commit 4a2a1d930d88a127959fd39af22f7d818e08663d

16
doc/CONTRIBUTION.md Normal file
View file

@ -0,0 +1,16 @@
# Thanks
## AGILE OPS
Thanks for contributing to GIT_REPO.
- [Agile OPS](https://www.linkedin.com/in/michaelfaille/)
## MathBenTech
Thanks for creating this project.
- [MathBen.Tech](https://mathben.tech)
## TechnoLibre
Thanks for making enterprise edition of ERPLibre.
- [TechnoLibre](https://technolibre.ca)
## Yenthe Van Ginneken
Thanks Yenthe Van Ginneken for your scripting guides and tutorial.
- [Yenthe666 InstallScript](https://github.com/Yenthe666/InstallScript)

87
doc/DEVELOPMENT.md Normal file
View file

@ -0,0 +1,87 @@
# Development guide
Setup your environment to develop modules and debug the platform.
## Installation procedure locally
### 1. Clone the project:
```bash
git clone https://github.com/ERPLibre/ERPLibre.git
```
### 2. Execute the script:
```bash
cd ERPLibre
./script/install_dev.sh
./script/install_locally_dev.sh
```
### 3. Run ERPLibre
```bash
./run.sh
```
## Fork project to create a new project independent of ERPLibre (deprecated)
ERPLibre was created by this script. It's now deprecated.
Use this script when you need to fork directly from the original source.
Don't use this script if you want to update from ERPLibre and follow mainstream development.
```bash
./venv/bin/python ./script/fork_project.py --github_token GITHUB_KEY --organization NAME
```
# Fork all repo for you own organization
Go to your github account and generate a token to access fork option with your user. Create an organization (or you can choose your user name).
This command will fork all repos and ERPLibre to your own organization. It keeps track to ERPLibre.
```bash
./venv/bin/python ./script/fork_project_ERPLibre.py --github_token GITHUB_KEY --organization NAME
```
## Generate manifest from csv repo
Add repo in file [./source_repo_addons.csv](./source_repo_addons.csv)
Execute to generate manifest of Repo
```bash
./venv/bin/python ./script/fork_project_ERPLibre.py --skip_fork
```
## Move database prod to dev
When moving database prod to your dev environment, you want to remove email servers, and install user test in order to test the database.
Run:
```bash
./run.sh --stop-after-init -i user_test,disable_mail_server --dev all -d DATABASE
```
# TODO
```bash
./venv/bin/python ./script/git_change_remote.py
```
## Change git url https to git
This will update all urls in git format:
```bash
./venv/bin/python ./script/git_change_remote_https_to_git.py
```
## Diff repo with another project
Tools to display the differences between the repo and another project.
```bash
./venv/bin/python ./script/list_repo_diff.py --sync_to /path/to/project/erplibre --dyr_sync
```
## Sync repo with another project
Tools to synchronise the repo with another project. This will show differences and try to checkout on the same commit in all repo.
```bash
./venv/bin/python ./script/git_change_remote.py --sync_to /path/to/project/erplibre
```
## Add repo
Access to a new repo, add your URL to file [source_repo_addons.csv](../source_repo_addons.csv)
Fork the repo to be able to push new code:
```bash
./venv/bin/python ./script/fork_project_ERPLibre.py
```
To regenerate only manifest.xml.
```bash
./venv/bin/python ./script/fork_project_ERPLibre.py --skip_fork
```

31
doc/DISCOVER.md Normal file
View file

@ -0,0 +1,31 @@
# Discover
Explore the ERPLibre solution.
## Fast installation
### 1. Clone the project:
```bash
git clone https://github.com/ERPLibre/ERPLibre.git
```
### 2. Run installation locally:
```bash
cd ERPLibre
./script/install_dev.sh
./script/install_locally_dev.sh
```
### 3. Run ERPLibre
```bash
./run.sh
```
## Add repo
Access to a new repo, add your URL to file [source_repo_addons.csv](../source_repo_addons.csv)
Execute script:
```bash
./venv/bin/python ./script/git_repo_manifest.py
./script/install_locally_dev.sh
git commit -am "Add new repo"
```
[Update your repo.](./GIT_REPO.md)

21
doc/FAQ.md Normal file
View file

@ -0,0 +1,21 @@
# FAQ
## git-repo
### error.GitError fatal bad revision
Example:
```
error.GitError: manifests rev-list (u'^2736dfd46e8a30cf59a9cd6e93d9e56e87021f2a', 'HEAD', '--'): fatal: bad revision 'HEAD'
```
Did you modify files in .repo?
Anyways, to reset files from your branch into .repo:
```bash
cd .repo/manifests
git branch -av
> remotes/m/rel/8953/zd552kl/7.1.1-11.40.208 -> origin/rel/8953/zd552kl/7.1.1-11.40.208
> remotes/origin/dev/ze550kl/asus/5.0.0-20150208 11a37fe set dev/ze550kl/asus/5.0.0-20150208
> remotes/origin/rel/8953/zd552kl/7.1.1-11.40.208 2736dfd Remove opencv3 from the manifest
# To reset the "remotes/origin" use the same as "remotes/m"
git reset --hard REF_OF_REMOTES/m
> git reset --hard remotes/origin/rel/8953/zd552kl/7.1.1-11.40.208
```

54
doc/GIT_REPO.md Normal file
View file

@ -0,0 +1,54 @@
# git-repo
This is a guide to understand git-repo. Scripts in ERPLibre use git-repo automatically.
[git-repo of Google](https://code.google.com/archive/p/git-repo) is used to manage all git repository under licence [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0.html).
## Setup repo
```bash
curl https://storage.googleapis.com/git-repo-downloads/repo > ./venv/repo
```
## prod
```bash
./venv/repo init -u http://git.erplibre.ca/ERPLibre -b 12.0_repo
./venv/repo sync
```
## dev
```bash
./venv/repo init -u http://git.erplibre.ca/ERPLibre -b 12.0_repo -m ./manifest/default.dev.xml
./venv/repo sync
```
## dev locally
[Guide to setup locally git](https://railsware.com/blog/taming-the-git-daemon-to-quickly-share-git-repository/).
```bash
git daemon --base-path=. --export-all --reuseaddr --informative-errors --verbose &
./venv/repo init -u git://127.0.0.1:9418/ -b $(git rev-parse --abbrev-ref HEAD) -m ./manifest/default.dev.xml
./venv/repo sync -m ./manifest/default.dev.xml
```
# Create Manifest
A [Manifest](https://gerrit.googlesource.com/git-repo/+/master/docs/manifest-format.md), is a XML file managed by git-repo to generate repo.
## Make a new version of prod
Freezes all repo, from dev to prod.
This will add revision git hash in the Manifest.
```bash
./venv/repo manifest -r -o ./manifest/default.xml
```
Do your commit.
```bash
git commit -am "[#ticket] subject: short sentence"
```
## Create a dev version
```bash
./venv/repo manifest -o ./manifest/default.dev.xml
```
Do your commit.
```bash
git commit -am "[#ticket] subject: short sentence"
```

3
doc/HOWTO.md Normal file
View file

@ -0,0 +1,3 @@
# HOW TO
## Update changelog
Please, read documentation (keepachangelog.com)[https://keepachangelog.com]

Some files were not shown because too many files have changed in this diff Show more