From 9b8db766a19c0092d8b50c374cdd62aaa585dd66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Fri, 23 Nov 2018 14:24:01 +0100 Subject: [PATCH] Use click-odoo-update --- CHANGES.rst | 2 ++ acsoo/templates/project/+project.name+/deploy-test.bob | 2 +- acsoo/templates/project/+project.name+/setup.py.bob | 9 ++------- 3 files changed, 5 insertions(+), 8 deletions(-) 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, )