Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/odoo-ide/pydevd-odoo

PyDev.Debugger plugin for Odoo
https://github.com/odoo-ide/pydevd-odoo

odoo pycharm pydev

Last synced: 4 days ago
JSON representation

PyDev.Debugger plugin for Odoo

Awesome Lists containing this project

README

        

# pydevd-odoo

[PyDev.Debugger](https://github.com/fabioz/PyDev.Debugger) is the Python debugger used
in PyDev, PyCharm, VSCode. This plugin aims to make the debugger works better for Odoo.

## Odoo Recordset
[Recordsets](https://www.odoo.com/documentation/15.0/developer/reference/backend/orm.html#recordsets) is a fundamental concept in Odoo.
A recordset is an ordered collection of records of the same model. Trying to read a field
on multiple ids recordset will raise an error. Because PyDev.Debugger recognizes a recordset as a
non-collection object so the error will be raise when evaluating its fields. This plugin helps
PyDev.Debugger correctly evaluate a multiple ids recordset.

## Installation
Install this plugin to the python environment in which the debugger runs.

`pip install pydevd-odoo`

## Screenshots
### PyCharm Debugger without this plugin
![PyCharm Debugger without pydevd-odoo](https://raw.githubusercontent.com/odoo-ide/pydevd-odoo/master/images/without-pydevd-odoo.png)
### PyCharm Debugger with this plugin
![PyCharm Debugger with pydevd-odoo](https://raw.githubusercontent.com/odoo-ide/pydevd-odoo/master/images/with-pydevd-odoo.png)