Erppeek

Latest version: v1.7.1

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

Scan your dependencies

Page 1 of 7

1.7.1

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

* Add support for the JSON-RPC protocol. It is enabled if the ``--server``
argument contains the full path to the ``/jsonrpc`` endpoint.
As an alternative, you can specify the ``protocol`` in the configuration
file.

* Change the return value of :meth:`Model.browse` method if search domain is
an empty list. It returns an empty ``RecordList`` except if some other
argument is provided (e.g.
``all_users = model('res.users').browse([], limit=None)``).
Compatibility tip: you can restore the old behavior with
``Model._browse_compat = True``.

* Change the return value of ``Client.read()`` and ``Model.read()`` methods
if search domain is an empty list: it returns ``False``.

* Improve error formatting for recent Odoo versions, in interactive mode.

* Refactor the construction of ``Service`` proxies.

* Drop compatibility with Python 2.6.

1.7

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

* Fully support Odoo 10 and Odoo 11.

* New method ``Client.clone_database`` based on ``Client.db.duplicate_database``.

* Optional ``login`` and ``country_code`` arguments for
``Client.create_database`` in Odoo 9+.

* Use the ``context`` for the ``search`` methods.

* Service ``Client._report`` is removed in Odoo 11. Methods ``Client.report``,
``Client.report_get`` and ``Client.render_report`` are removed too.

* More robust Python 2 detection logic.

1.6.3

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

* Do not parse long integers which overflow in XML-RPC.

1.6.2

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

* Add an optional ``transport`` argument to the ``Client`` constructor.
This is useful for tweaking the SSL context or adding an optional
timeout parameter.

* Implement ``==`` comparison for ``RecordList`` instances.

* Uninstall dependent add-ons in a single call.

* Do not install/uninstall add-ons if other actions are pending.

* Do not hang when the ``Client`` constructor receives invalid
arguments.

* Fix ``str(record)`` and ``print(record)`` with non-ASCII names.

1.6.1

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

* Support using ``--env`` and ``--user`` together to connect with a
different user.

* Adapt for Odoo 8.0 after change ``cc4fba6`` on October 2014.

* Do not interpret digits with leading ``0`` as octal in search domain.

1.6

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

* Compatible with Odoo 8.0.

* New attribute ``Client.context`` to set the default context for
high-level ``Model`` and ``Record`` methods.

* Use blocking RPC call in ``Client.create_database``. Asynchronous
method is removed in Odoo.

* Return the interactive namespace with ``main(interact=False)``.
It helps to integrate with third-party libraries, such as IPython.

* Remove a duplicate ``Logged in as ...`` line in interactive mode.

* Remove the ``search+name_get`` undocumented feature which has
wrong behavior when applied to an empty ``RecordList``.

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

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.