Odooly

Latest version: v2.1.9

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

Scan your dependencies

Page 2 of 3

2.1.3

~~~~~~~~~~~~~~~~~~

* Fix a bug where method ``with_context`` returns an error if we update
the values of the logged-in user before.

* Allow to call RPC method ``env['ir.default'].get(...)`` thanks to a
passthrough in the :meth:`Model.get` method.

2.1.2

~~~~~~~~~~~~~~~~~~

* Store the cursor :attr:`Env.cr` on the :class:`Env` instance
in local mode.

* Drop support for Python 3.2 and 3.3

2.1.1

~~~~~~~~~~~~~~~~~~

* Do not call ORM method ``exists`` on an empty list because it fails
with OpenERP.

* Provide cursor :attr:`Env.cr` in local mode, even with OpenERP
instances.

* Optimize and fix method :meth:`RecordList.filtered`.

2.1

~~~~~~~~~~~~~~~~

* Allow to bypass SSL verification if the server is misconfigured.
Environment variable ``ODOOLY_SSL_UNVERIFIED=1`` is detected.

* Accept multiple command line arguments for local mode. Example:
``odooly -- --config path/to/odoo.conf --data-dir ./var``

* Add ``self`` to the ``globals()`` in interactive mode, to mimic
Odoo shell.

* On login, assign the context of the user:
``env['res.users'].context_get()``. Do not copy the context when
switching database, or when connecting with a different user.

* Drop attribute ``Client.context``. It is only available as
:attr:`Env.context`.

* Fix hashing error when :attr:`Env.context` contains a list.

* Assign the model name to ``Record._name``.

* Fix installation/upgrade with an empty list.

* Catch error when database does not exist on login.

* Format other Odoo errors like ``DatabaseExists``.

2.0

~~~~~~~~~~~~~~~~

* Fix cache of first ``Env`` in interactive mode.

* Correctly invalidate the cache after installing/upgrading add-ons.

* Add tests for :meth:`Model.with_context`, :meth:`Model.sudo` and
:meth:`Env.sudo`.

* Copy the context when switching database.

* Change interactive prompt ``sys.ps2`` to ``" ... "``.

2.0b3

~~~~~~~~~~~~~~~~~~

* Provide :meth:`Env.sudo` in addition to same method on ``Model``,
``RecordList`` and ``Record`` instances.

* Workflows and method ``object.exec_workflow`` are removed in Odoo 11.

* Do not prevent login if access to ``Client.db.list()`` is denied.

* Use a cache of :class:`Env` instances.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.