Erppeek

Latest version: v1.7.1

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

Scan your dependencies

Page 4 of 7

1.3

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

* Implement exception chaining in ``format_exception`` to print the
original traceback.

* Return a list of ``Record`` objects when reading the ``reference`` field
of a ``RecordList`` object.

* Fix reading attributes on ``RecordList`` with holes or gaps.

* Accessing an empty ``one2many`` or ``many2many`` attribute on a ``Record``
returns a ``RecordList``.

* New method ``Model.get`` to retrieve a single ``Record``. It raises a
``ValueError`` if multiple records are found.

* New method ``Record._send`` to send a workflow signal.

1.2.2

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

* Accept ``Record`` and ``RecordList`` attribute values when writing or
creating records.

* Improve the methods ``write`` and ``create`` of ``Record`` and ``RecordList``
objects to manage ``one2many`` and ``many2many`` fields.

* Return a ``Record`` when reading a ``reference`` field. Implement the
``create`` and ``write`` methods for these fields.

* Remove undocumented alias ``Record.update``.

1.2.1

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

* Add the special operators ``=ilike``, ``=ilike``, ``=?`` and fix
parsing of inequality operators ``>=`` and ``<=``.

* Fix the ``RecordList.id`` attribute, and deprecate ``RecordList._ids``.

* Deprecate the ``Record.client`` attribute: use ``Record._model.client``.

* Accessing an empty ``many2one`` attribute on a ``RecordList`` now returns
a ``RecordList``.

* Fix ``TypeError`` when browsing non-existent records.

1.2

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

* Catch some malformed search domains before sending the RPC request.

* Preserve dictionary response when calling non standard ``Record`` methods.

* Expose the helper ``format_exception`` which formats the errors
received through XML-RPC.

* Support XML-RPC through HTTPS with ``scheme = https`` in the
``erppeek.ini`` configuration file.

* Print an error message when ``client.upgrade(...)`` does not find any
module to upgrade.

1.1

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

* When using arbitrary methods on ``Record``, wrap the ``id`` in
a list ``[id]``. It fixes a recurring issue with poorly tested
methods.

* Do not read all records if the ``RecordList`` is empty.

* Fix the bad behaviour when switching to a different database.

* Order the results when using ``read`` method with ``order=`` argument.

* Reading attributes of the sequence ``<RecordList 'sea.fish,[2, 1, 2]'>`` will
return an ordered sequence of three items. Previously it used to return an
unordered sequence of two items.

* Accept the ``%(...)s`` formatting for the fields parameter of the
``Record.read`` and the ``RecordList.read`` methods too.

* Add a tutorial to the documentation.

1.0

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

* Add the test suite for Python 2 and Python 3.

* Implement ``len()`` for ``RecordList`` objects.

* Connect to the server even if the database is missing.

* Expose the method ``Client.db.get_progress``.

* New method ``Client.create_database`` which wraps together
``Client.db.create`` and ``Client.db.get_progress``.

* Save the readline history in ``~/.erppeek_history``, only
if the file already exists.

* Enable auto-completion using ``rlcompleter`` standard module.

* Raise an ``AttributeError`` when assigning to a missing or
read-only attribute.

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.