PyCharm Odoo 2023.1

Hello world!

A new year has come. This year I have more challenges to overcome. It's not just about continuing to improve the PyCharm plugin for Odoo but also about starting a new journey with the new Visual Studio Code extension for Odoo. Thank you to everyone who has supported me over the years! I hope that we will continue to work together towards the best programming experience for Odoo developers.

The first version of the new year has been released to PyCharm users. This release focuses on code completion for tags and attributes in QWeb template files. As you know, QWeb is the primary template engine used by Odoo. Under the hood, Odoo has three implementations of QWeb:

  1. Python implementation for back-end rendering -
  2. JS implementation for non-OWL front-end templates -
  3. OWL implementation for OWL templates -

These implementations have some directives in common (such as t-if, t-foreach,...) but also some differences (such as t-field which is only supported by the Python implementation,...). There are also differences between versions of Odoo (such as t-out is used instead of t-esc since Odoo 15,...).

The Odoo plugin now provides context-aware code completion for QWeb directives as well as HTML tags and attributes in QWeb template files.

QWeb directive completion

This feature does not yet support embedded QWeb templates (such as those in Kanban views). I plan to improve it in later versions.

For the full change notes, please see

in News