Contents
create and activate virtualenv, possibly with virtualenvwrapper's
mkvirtualenv odoo-Odoo Custom -a .
To save some time copy Odoo 10.0 sources in src/odoo,
and do git clean -ffdx
in src/odoo.
pip install --src src -r requirements.txt -e .
Only when there is a need to refresh the frozen dependencies,
review gitaggregate.yaml
and requirements-dev.txt
, then
run:
gitaggregate -c gitaggregate.yaml -p
rmvirtualenv odoo-Odoo Custom
mkvirtualenv odoo-Odoo Custom -a .
pip install --src src --pre -r requirements-dev.txt
./freeze.sh
git commit requirements.txt
odoo
First make sure you have been testing using the correct dependencies by
running ./freeze.sh
and checking there is no change in requirements.txt
.
- run acsoo tag, the deploy to the test environment will be automatic, and gitlab will show a button on the pipeline to deploy to production.
- update version in
acsoo.cfg
andOdoo Custom_all/__manifest__.py
- commit everything
- run
acsoo release
At that point the resulting wheel files in ./release
contain all the
code to be deployed.