Erppeek

Latest version: v1.7.1

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

Scan your dependencies

Page 5 of 7

0.11

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

* Enhance the ``Model.browse()`` method to accept the same
keyword arguments as the ``Client.search()`` method.

* Fix the verbose level on ``Client.connect()``.

* Fix the ``Record.copy()`` method.

* Fix the ``Record.perm_read()`` method (workaround an OpenERP bug when
dealing with single ids).

* Drop the ``--search`` argument, because the search terms can be passed as
positional arguments after the options. Explain it in the description.

* Fix the shell command. Request the password interactively if it's not
in the options and not in the configuration file.

0.10

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

* Add the ``--verbose`` switch to log the XML-RPC messages.
Lines are truncated at 79 chars. Use ``-vv`` or ``-vvv``
to truncate at 179 or 9999 chars respectively.

* Removed the ``--write`` switch because it's not really useful.
Use :meth:`Record.write` or :meth:`client.write` for example.

* Stop raising RuntimeError when calling ``Client.model(name)``.
Simply print the message if the name does not match.

* Fix ``RecordList.read()`` and ``Record.read()`` methods to accept the
same diversity of ``fields`` arguments as the ``Client.read()`` method.

* ``RecordList.read()`` and ``Record.read()`` return instances of
``RecordList`` and ``Record`` for relational fields.

* Optimize: store the name of the ``Record`` when a relational field
is accessed.

* Fix message wording on module install or upgrade.

0.9.2

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

* Fix ``Record.write()`` and ``Record.unlink()`` methods.

* Fix the caching of the ``Model`` keys and fields and the ``Record``
name.

0.9.1

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

* Fix ``client.model()`` method. Add ``models()`` to the ``globals()``
in interactive mode.

0.9

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

* Add the Active Record pattern for convenience. New classes :class:`Model`,
:class:`RecordList` and :class:`Record`. The :meth:`Client.model` method
now returns a single :class:`Model` instance. These models can be
reached using camel case attribute too. Example:
``client.model('res.company')`` and ``client.ResCompany`` return the same
:class:`Model`.

* Refresh the list of modules before install or upgrade.

* List all modules which have ``state not in ('uninstalled', 'uninstallable')``
when calling ``client.modules(installed=True)``.

* Add documentation.

0.8

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

* Fix ``help(client)`` and ``repr(...)``.

* Add basic safeguards for argument types.

Page 5 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.