Skip to content

Commit

Permalink
Merge pull request #46 from acsone/click-odoo-update-sbi
Browse files Browse the repository at this point in the history
Use click-odoo-update
  • Loading branch information
sbidoul authored Nov 25, 2018
2 parents fea8cc1 + 9b8db76 commit 7735537
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion acsoo/templates/project/+project.name+/deploy-test.bob
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 2 additions & 7 deletions acsoo/templates/project/+project.name+/setup.py.bob
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

0 comments on commit 7735537

Please sign in to comment.