It's been a month since my last blog post, and I'm here again to announce a new version of the PyCharm plugin for Odoo with lots of useful features.
New icons for code completion
In previous versions, I reused the existing Intellij Platform icons for all kinds of code completion in the Odoo plugin. In this release, I designed the new icons with colors derived from Odoo branding colors to give the code completion a new look and feel. Code completion types that have new icons in this release are: model name, field name, XML ID, context, selection, widget.
XML ID completion:
Code completion for selection ondelete
In Odoo 14, selection field has the new ondelete attribute that provides a fallback mechanism for any overridden field with a selection_add (documentation).
Code completion for http.route args
This release implemented code completion for http.route() keyword arguments and its values as well.
Code completion for view attributes
View attributes (required, invisible, readonly) now get code completion support.
Code completion for sort order
Sort order types (ASC, DESC) now also get code completion support.
Besides the above features, this release also has many bug fixes and other improvements to make PyCharm the best IDE for Odoo.
You can see the full change notes at https://plugins.jetbrains.com/plugin/13499-odoo