Dodoo

Latest version: v2.0.0rc8

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

Scan your dependencies

Page 1 of 3

2.0.0

------------------
- refactor to click native facilities, where possible
- replace ``env_options()`` named parameters with ``context_settings``
on ``click.Command()``
- replace ``env_options`` wrapper with custom Command class
- add ``default_overrides`` command key to manage script-scoped parameter
defaults (eg. adjust default for ``log_level`` or ``rollback``)
- Rename to dodoo
- Add plugin facilities

1.1.1

------------------
- add ``with_addons_path`` option to ``dodoo.env_options``
to control the presence of the ``--addons-path`` option. Defaults to False.
Enabled for the CLI.

1.1.0

------------------
- add ``environment_manager`` to ``dodoo.env_options``, providing
a hook on ``odoo.api.Environment`` creation.
- add ``--addons-path`` option to the CLI.
- add ``database_must_exist`` env option to ``dodoo.env_options``
so scripts can behave how they please in case the database is absent.

1.0.4

------------------
- silence deprecation warning
- adapt tests for Odoo 12

1.0.3

------------------
- clarify the behaviour of ``env_option`` ``with_database`` and ``database_required``
parameters; in particular, when ``with_database`` and ``database_required``
are both set (the default), the ``--database`` option can be omitted
as long as a database is declared in the Odoo configuration file.

1.0.2

------------------
- refactor the OdooEnvironment class: it is much cleaner when
it leaves the global Odoo config alone, so we completely move
responsibility to initialize the Odoo config to the CLI part.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.