Releases: katyukha/odoo-helper-scripts
Releases · katyukha/odoo-helper-scripts
Release 1.5.0 (2023-11-16)
Release 1.4.0 (2023-11-08)
Added
- New option
--enforce-bump
toodoo-helper ci fix-versions
andodoo-helper ci check-versions
commands.
Changed
- Changed default installed version of wkhtmltopdf to 0.12.6.1 r3. Thus it have to be working on Ubuntu 22.04+
Release 1.3.0 (2023-03-28)
Added
- Added new option
--no-fetch
to cmdodoo-helper link
that allows to disable
fetching repositories (fromodoo_requirements.txt
andoca_dependencies.txt
)
Changed
- Automatically apply patch to run tours on Chrome 111 for Odoo 12.
See details:
Fixed
- Force link modules during migration tests
v1.2.0
Release 1.0.0 (2023-01-08)
Release 1.0.0 (2023-01-08)
Added
- Added new option
--no-drop-db
toodoo-helper test
command.
This option could be used to tell odoo-helper to not drop temporary test database.
Especially, this is useful for migration testing to check the state of database after migration. - Added new option
--sys--deps
toodoo-install
command.
This opt allows to automatically install system dependencies whe installing odoo, but requires sudo.
Changed
- Removed overwrites for dependencies for pyopenssl and cryptography,
because they are fixed on odoo side now. - Use LOdoo as separate python package.
Note: This change may be backward incompatible. So,
it is possible, that after update you will need to run command
odoo-helper install py-prerequirements
- Added safeguard preventing running installation of odoo as root user.
This is needed to warn users, that this script is not designed to
install production-ready instances, and it is focused on developers to help
them to manage multiple local installations of Odoo.
For production-ready installation
CR&D Deploy script have to be used.
It will automatically install odoo-helper and configure everything in right way. - Automatically install
python2-setuptools-whl
package, when installing python2 support.
Release 0.15.0
Added
- Added new options to
fetch
command:--git-single-branch
could be used to clone repos with single branch options--git-depth-1
could be used to clone repos with option--depth=1
- Experimental support of Odoo 16.0
Fixes
flake8-colors
not needed anymore, as flake8 support color output byt default.- Limit version of
pylint-odoo
to less then 8.0 for backward compatibility.
This is done because OCA remove a large part of functionality in 8.0.
See merge request: OCA/pylint-odoo#396
Release 0.14.1 (2022-09-09)
Fixes
Require "pyopenssl>=21.0.0" during odoo install to make odoo 15 work on ubuntu:20.04
Release 0.14.0
Release 0.14.0 (2022-08-16)
Added
- Ability to automatically detect python for Odoo version via following options:
odoo-helper install reinstall-venv --build-python auto
odoo-install --build-python auto
- Ability to automatically build python for odoo version only if system python do not satisfy odoo requirements.
For this reasone new option was added to following commands:odoo-helper install reinstall-venv --build-python-if-needed
odoo-install --build-python-if-needed
- Add ability to enforce
odoo-helper fetch
clone repos with--single-branch
options.
This feature could be enabled via environment variableODOO_HELPER_FETCH_GIT_SINGLE_BRANCH
.
This feature could be useful to reduce size of cloned repositories. - Added ability to automatically update odoo-helper-scripts installed via debian package.
Changed
- On module migration (during forwardport) automatically replace
related_sudo=
tocompute_sudo
for field definitions.
Deprecations
- Option
odoo-install --openupgrade
is deprecated. It will raise error for odoo 14.0+.
Starting from Odoo 14.0, openupgrade uses separate odoo addons to store migrations,
instead of full copy of odoo.
Release 0.13.1
Release 0.13.1 (2022-06-25)
Changed
- Updated minimal version for setuptools for odoo to be greater or equal to 45 and less than 58
Release 0.13.0
Added
- Short version of
--migrate-modules
option toodoo-helper ci do-forwardport
:--mm
.
So, now forwardport command could look like:odoo-helper ci do-forward-port -s 12.0 --mm
- Automatically detect
.jslintrc
placed in repo root directory. If found, then apply it to pylint by default. - Added shortcut for
odoo-helper fix-versions
-odoo-helper fix-version
- Added option
--tdb
toodoo-helper odoo recompute
command - Added new option
--no-backup
toodoo-helper install reinstall-odoo
- On module migration automatically replace
phantom_js(
tobrowser_js(
. - Added new option
--if-not-exists
toodoo-helper db create
command - Added new command
odoo-helper postgres wait-availability
that allows to wait while postgres will be started and ready.
This command could be useful for docker containers
Changed
- Install LTS version of nodejs by default.
In previous version latest stable version was installed by default. - openupgradelib now will be downloaded from pypi.
It seems that now relevant versions of this lib are published on pypi - Simplify installation for debian-like systems: automatically install preprequirements
- Python2 support is now installed only for Odoo 10.0 and below.
- Do not use fallback packages when installing wkhtmltopdf.
By default install wkhtml to pdf from wkhtmltopdf releases only fore supported releases.
Otherwise, user have to manually choose if he needs to try fallback repo or install system's wkhtmltopdf.