Newer
Older
=======
History
=======
15.1.0
------
Also do branch coverage when doing coverage.
Better output of odoo 15 tests with run_tests shell script.
Fix chown of extra directories. Add chown option to do_tests.

Vincent Hatakeyama
committed
Add populate options to docker_dev_start.
Add odoo_conf_inject_env_var entry point.
Explicitly disable base import with version it is not tested (it did not work with 13.0 anyway).
Change isort options to be able to show differences.

Vincent Hatakeyama
committed
Use the presence of a Dockerfile as a sign that the current directory is a super project. Avoids starting to create files by error.

Vincent Hatakeyama
committed
Add new command and flags to run pylint on some modules.
------
Allow not setting the database owner in do_tests.
Remove static image support.
``docker_build`` also tag with any current tag if any.
``import_jsonrpc``: Add ``--allow-import-errors`` & ``--allow-missing-refs`` to log warnings without blocking errors.
``import_jsonrpc``: More lenient float parsing - handle commas / dots / nbspaces.
13.3.0
------
Sort subdirectories when importing files. This was supposed to be the case but was not done correctly.
13.2.0
------
Do not require odoorpc that works with python 3.10, just be aware that you need to use the one from requirements if you want python 3.10 compatibility.
13.1.0
------
Add a handy method in odoo.py when writing scripts.
13.0.0
------
Update odoorpc required version to one including the fix for python 3.10.
12.0.1
------
Do not use python 3.10 as odoorpc is not compatible with this version.
12.0.0
------
Default to not doing flake8 and isort in do_tests.
11.1.0
------
Add the possibility to indicate a different path for the copied sources.
11.0.1
------
Fix reading other sources from setup, it was only accepting directories.
Password in imports and odoo scripts is not mandatory anymore, if not provided, it will be asked by using getpass.

Vincent Hatakeyama
committed
11.0.0
------
docker_build_copy: Add the copy of setup files in directory odoo_setup so that they can be added to the Docker images of each projects.
10.0.1
------
Fix setting default developer mode.
10.0.0
------
Add option to include custom developer mode. Default is still to use reload and pdb. To use ipdb, use ``--dev-opt ipdb`` instead of ``--ipdb``.
docker_dev_start chown option also chown the content of ``/var/lib/odoo`` for recent Odoo.
9.0.1
-----
Run chown in odoo as root.
-----
Add install option to do_tests, allowing to override installed modules.

Vincent Hatakeyama
committed
Fix issues with documentation generation (incompatibility with expand)
Changed following base image changes.
Odoo 13 set not null errors when testing are ignored the same way it was in other versions.
8.0.1
-----
Fix nested blacklisting.
-----
flake8 and isort are not run by default when running docker_dev_start.
do_tests.py: Do not crash when super project has an hyphen in its name.
For example, allow ignoring odoo-mint/theme when expanding odoo-mint-hr.
🔨 Change list_modules command to output in the console when used.
Handle option --odoo-sources in odoo 13.
🚑 avoid error on warning.out
7.0.5
-----
Clarify chown message.
Fix issue when trying to build an image using python 3.5 with development tools.
7.0.4
-----
Fix copy of modules static with core in its path.
Push image to our registry too.
Fix reading odoo_type when using expansion.
7.0.3
-----
Omit Odoo manifests from coverage.
Fix copy of modules with core in its path.
7.0.2
-----
Fix colors of passing/failures in run_tests.
7.0.1
-----
Also add expanding in shell scripts.
7.0.0
-----
Rewrote expanding to allow blacklisting. It should be simpler to add new options.
Change to how output is colorized in shell scripts.
Add .expand to several options so that a super project can reuse other super projects.
Fix --odoo-help in docker_dev_start to avoid requiring a database.
5.0.0
-----
Use semver.
docker_dev_start and do_tests: use socket when starting postgresql rather than a port that might be used on the host.
docker_dev_start stops doing systematic chown on the content of /mnt in the container. The argument ``--chown`` can be used to do that. This was needed when the odoo user changed in an image, a rare occurence.
Add :ref:`docker_pg.py` command to start postgres like :ref:`docker_dev_start.py` does when using ``--start-postgresql``, but without starting odoo.

Vincent Hatakeyama
committed
4.2.1
-----
Disable test, meaning that import_base_import does not work in odoo 13.
4.2
---
Adapt import scripts to odoo 13. import_base_import **does not work** in this version yet.
Fix missing PyYAML dependency.

Vincent Hatakeyama
committed
Colored logs.

Vincent Hatakeyama
committed
Docker calls are now done with the API rather than with subprocesses.
:file:`isort` shell script has been removed, it is now available as a python 3 script :ref:`docker_isort`.
Logging default is now the info level. Use `-q`/`--quiet` to decrease verbosity.

Vincent Hatakeyama
committed
4.1
---
Shell scripts stop assuming that they are in a directory inside the superproject, but assume they are called from the superproject directory instead.
Improve documentation generation.
Fix issue with pg.extensions key in config file.
Fix issue with flake8 call not using :file:`setup.cfg` preferences; it was called from another directory.
Default to pdb with pdb++ instead of ipdb. New option ``--ipdb`` to run ipdb instead if wanted.

Vincent Hatakeyama
committed
docker_dev_start: add argument to run SQL script after eventual restauration but before starting the server.
4.0
---
Change how documentation is generated, and do not exit with an error code on module generation errors.
3.3
---
Do not include CI files when duplicating sources.
Expose ``logging_from_verbose``.
Change failure and error detection in ``run_tests``.

Vincent Hatakeyama
committed
3.2
---
Changed several shell scripts to python 3 scripts.
Add odoo 13.
Add ODOO_ADDONS_PATH env var to start.
Add option to bind odoo sources in the image:
- ``update_duplicate_sources`` now relies on the metaproject clone URL instead
of its directory name. Works fine with the bitbucket.org ➔ orus.io move.
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
3.0
---
Script uses python 3.
2.20
----
- start locale py3o stack with ``docker_dev_start.py``
(when report_py3o_fusion_server is in module list).
2.19
----
- remove references to ``addon_dirs``, use ``module`` instead.
2.11
----
- create_documentation: Fix paths of per-module documentation.
- Support Odoo 10 ("odoo-bin" instead of "openerp-server").
2.10
----
Add script to duplicate code on another repository.
2.9
---
- conf2reST.py: Prefer anonymous links to avoid conflicts when the same version is shared by 2
repos (as the "link target" system would then be in use).
2.8
---
- add script to create archive of source
- create_documentation: only create documentation for used modules, reusing the setup.cfg key defined for create_archive if it is present
- docker_build: copy modules (defined in setup.cfg in superproject to a new directory for docker to do)
2.7
---
Add conf2reST.py script.
2.0
---
Read module_list, module_list_test, addon_dirs and odoo_type from setup.cfg instead of directories
1.0
---
Initial version