diff --git a/CHANGES.rst b/CHANGES.rst index 3a82190..c97628b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -5,6 +5,8 @@ Changes .. ---------- .. - +- [IMP] project template: use click-odoo-update + 1.8.2 (2018-11-05) ------------------ - [IMP] project template: better way to declare python version diff --git a/acsoo/templates/project/+project.name+/deploy-test.bob b/acsoo/templates/project/+project.name+/deploy-test.bob index 9a88fa8..ba7424d 100755 --- a/acsoo/templates/project/+project.name+/deploy-test.bob +++ b/acsoo/templates/project/+project.name+/deploy-test.bob @@ -27,7 +27,7 @@ subprocess.check_call([ rm -f venv ln -s venv-{VERSION} venv for db in $(cat DATABASES) ; do - venv/bin/click-odoo-upgrade -c odoo.cfg -d $db --i18n-overwrite 2>&1 | tee upgrade-logs/upgrade-$VERSION-$db.log + venv/bin/click-odoo-update -c odoo.cfg -d $db --i18n-overwrite 2>&1 | tee upgrade-logs/upgrade-$VERSION-$db.log done ./maintenance_stop EOF diff --git a/acsoo/templates/project/+project.name+/setup.py.bob b/acsoo/templates/project/+project.name+/setup.py.bob index c8eebee..0e19d5d 100644 --- a/acsoo/templates/project/+project.name+/setup.py.bob +++ b/acsoo/templates/project/+project.name+/setup.py.bob @@ -12,12 +12,7 @@ setup( description='{{{ project.name|capitalize }}} Odoo Addons', setup_requires=['setuptools-odoo'], install_requires=[ - 'click-odoo-contrib', + 'click-odoo-contrib>=1.4.1', ], - odoo_addons={ - 'depends_override': { - 'module_auto_update': - 'odoo{{{ odoo.major }}}-addon-module_auto_update>={{{ odoo.major }}}.0.2.0.0', - }, - }, + odoo_addons=True, )