Dodoo

Latest version: v2.0.0rc8

Safety actively analyzes 629436 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

1.0.1

------------------
- better error logging and handling: all exceptions occuring
in scripts under dodoo.env_options are logged and converted
to ClickException so we are sure they are both in the log file
and on the console (handled by click) for the user to see.
The OdooEnvironment context manager does not do additional logging,
leaving that responsibility to the caller.

1.0.0

------------------
- close db connections when releasing OdooEnvironment
- expose dodoo.odoo_bin (odoo or openerp-server depending on Odoo series).
not documented yet, because it should ideally be a full path corresponding
to the installed dodoo.odoo, and I'm not sure how best to detect it yet.

1.0.0b4

--------------------
- minor documentation improvements
- add the possibility to run script without ``--database`` (ie without env,
but with a properly initialized Odoo library such as addons path)
- be more resilient in case we can't obtain a context for the user

1.0.0b3

--------------------
- dodoo now exports the odoo namespace: ``from dodoo import odoo``
is an alias for ``import odoo`` (>9) or ``import openerp as odoo`` (<=9)
- add a ``with_rollback`` option to the ``env_options`` decorator, to control
the presence of the rollback option
- document the ``env_options`` decorator

1.0.0b2

--------------------
- commit in case of success, so users do not need to commit in their
scripts, therefore making scripts easier to compose in larger transactions
- add a --rollback option
- interactive mode forces --rollback

1.0.0b1

--------------------
- clear cache when starting environment (mostly useful for tests)
- simplify and test transaction and exception handling
- when leaving the env, log the exception to be sure it is visible
when using ``--logfile``

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.