Click-odoo

Latest version: v1.6.0

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

Scan your dependencies

Page 2 of 4

1.3.0

------------------
- pass click ctx to environment_manager

1.2.0

------------------
- refactor ``click_odoo.env_options`` to allow propagating ``env``
to subcommands through the click context. Fixes 16.
- do not log click Exit exception, which may be raised by subcommands as
a result of --help.

Upgrading:
- click-odoo now requires click>=7

1.1.1

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

1.1.0

------------------
- add ``environment_manager`` to ``click_odoo.env_options``, providing
a hook on ``odoo.api.Environment`` creation.
- add ``--addons-path`` option to the CLI.
- add ``database_must_exist`` option to ``click_odoo.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.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.