Skip to content

Releases: odoo-plus/odootools

Release 0.1.9

06 Jul 20:55
112fa36
Compare
Choose a tag to compare

Revert the setuptools to <58. Setuptools will silently ignore use_2to3 for 58.0.0

#2086: Removed support for 2to3 during builds. Projects should port to a unified codebase or pin to an older version of Setuptools using PEP 518 build-requires.

But will only fail a build at v58.0.2

#2769: Build now fails fast when use_2to3 is supplied.

Nothing else changed except the requirements and cleaned up pip install vatnumber that is already in the requirements for odoo13. Technically we could also have a fork of vatnumber that doesn't really validate anything and can be used transparently. If you really want to ensure that the tax number are valid, you should really use proper APIs instead of the vatnumber validation.

Release 0.1.8

06 Jul 20:33
683cf26
Compare
Choose a tag to compare

The current github workflows have been updated to work with odoo13 after some changes at github. It seems that for some reasons, it's not possible to install vatnumber with pip>=23 on the current ubuntu images.

It's unclear what is preventing this but for that reason the version of pip is downgraded to <23 for odoo13. It's possible that I'll drop support for odoo13 and less as it require to manipulate the version of setuptools to be less than 58 due to the modules using use_2to3.

Fixes:

  • It's possible to exclude modules from the output of module deps to only see the dependent modules but not the one that are already included in the lookup. For example, if you wanted to test a,b,c,d and you had c depending on a,b; and d depending on c. You would want to have only a and b as dependencies of c,d. This can then be sent to odoo to install a and b without tests and then install c and d with tests.

  • platform.processor seems to have changed behaviour and now may return an empty string. It now use platform.machine as a fallback.

  • addons_path would parse invalid paths containing whitespace at the start or end of the path. Now the paths are stripped to make it possible to.

Release 0.1.7

04 Mar 05:17
Compare
Choose a tag to compare

Replace 0.1.6:

What's new:

  • It's now possible to pass credentials to the service checkout command. The functionality was already there but there was no parameter for the command line that allowed it.

Bug fixes:

  • Some files were missing from the 0.1.6 release in the overlays folder and the app/mixins. By default python will not package files in folders that do not have a __init__.py file.

0.1.6

02 Mar 00:24
Compare
Choose a tag to compare

In this version of odoo-tools, a new API has been integrated to host odoo servers. It's still more or less a draft of what would become a more sophisticated way to run odoo. The new API is modular and can be extended to support different kind of setup.

It is designed as a set of mixins that can be used to build a custom wsgi application or potentially different kind of entrypoints to run cron or execute commands from command line.

Ideally, this will replace parts of Odoo-tools that execute Odoo directly as this OdooApplication is able to configure things outside of the what's possible with odoo.tools.config. One other important aspect is that using the API means that some part of odoo will get overriden by a custom patches available as module overlays in odoo_tools.overlays.

This is the kind of change that's likely to happen for a version 0.2 or potentially 1.0.

0.1.5

02 Feb 20:30
Compare
Choose a tag to compare

Small fixes to support Odoo 16.0

0.1.4

16 Nov 23:55
Compare
Choose a tag to compare

Changes:

  • There is a new command "odootools gen" that can be extended by third party libraries to add more commands to generate things.
    this will be used by an other library to generate rest api for Odoo
  • Some bug fixes for odoo16. It will be able to install the proper version of ldap
  • Fixed some docker entrypoint bugs to update the docker images in llacroix/odoo-docker