Skip to content

0.12.0 - Beta

Pre-release
Pre-release

Choose a tag to compare

@fda-odoo fda-odoo released this 01 Sep 15:29

[0.12.0] - 2025/08/28 - PyCharm, Csv and configurations

This patch includes somes changes required for the new PyCharm plugin.
We changed some keys in the configurations files to improve clarity and added a TomL schema helper. Install a TomL extension to get
syntax diagnostics, as well as validation of your configuration files. (You'll have the best by installing "Even Better TOML" AND "Tombi" on vscode)

PyCharm

  • Start and manage the lifecycle of OdooLS in Pycharm.
  • Add a Profile Selector
  • Add a Crash Report
  • Add a webview to display configuration resumes.

VsCode

Server

  • New parameters available in configuration: "no_typeshed_stubs" that prevents the loading of typeshed stubs, if you want to provide yours, and "stdlib", that allows you to provide a different location for your stdlib stubs.
  • Remove parameter "add_workspace_addon_path" from configs. Addons path now contains the value "$autoDetectAddons" by default, that means that server will automatically try to detect addons. When setting addon paths in your configuration, you can add this value to the list to keep this behaviour.
  • Load CSV files and extract xml_id from it
  • Improve reloading and cache update of files with invalid syntax
  • Handle If..else statements with an empty bloc in the if and else (invalid ast)
  • OLS03020 is now evaluated later in the process to give accurate results
  • Improve dynamic reloading on creation of missing models

Fixes

  • Server will now search for stubs and additional files next to its exe, and not in the current working directory. If not present, it will search then in current working directory
  • Fix a version verification in is_inheriting method
  • Fix crashes that can happen if one of the following field has a value that is not of the right type ("False" instead of False for example): "comodel_name", "related", "compute", "delegate", "required", "default"