--- license: lgpl-3.0 language: - en pretty_name: Odoo Model and Field Changes, Odoo 16 to 20 (Community) tags: - odoo - erp - code - software-upgrades - schema size_categories: - 10K20` | | `change` | `model_added`, `model_removed`, `model_renamed`, `field_added` or `field_removed` | | `model` | Technical model name, such as `res.partner` | | `field` | Field name, for field changes | | `field_type` | Field type, such as `Many2one`, for field changes | | `module_or_new_name` | The module that defines it, or the new model name for `model_renamed` | ### `fields` `model`, `field`, `type`, `relation` (the related model for relational fields), `label`, `module`, then `in_odoo_16` to `in_odoo_20` as true or false. ### `models` `model`, `description`, `module`, then `in_odoo_16` to `in_odoo_20` as true or false. ## Quick start ```python from datasets import load_dataset changes = load_dataset("msubash96/odoo-model-changes", "changes", split="train") removed = changes.filter(lambda r: r["step"] == "19->20" and r["change"] == "field_removed") print(removed.select(range(5)).to_pandas()) ``` ## How it was built A static parse of the Python models (`_name`, `_inherit`, `_inherits` and `fields.*` declarations, with mixins merged) of every module in each release. A field counts as removed only when no parent, mixin or delegated model still provides it. - **Sources:** Odoo 16.0, 17.0, 18.0, 19.0 and 20.0 Community. - **Scope:** models and fields defined by Community modules only. Models and fields that come only from Enterprise modules are left out. - **Generated:** 2026-10-14. ## Limits - Field renames are not detected as renames. A renamed field appears as one `field_removed` and one `field_added`. - Changes in field attributes, such as a new `required` or a changed selection list, are not included. - Fields added at runtime, outside the Python declarations, are not seen. ## License and credit The data is derived from Odoo Community source code, which is licensed under LGPL-3.0, so this dataset uses the same license. Odoo is a trademark of Odoo S.A. This dataset is not made or endorsed by Odoo S.A. Compiled by [Subash Magar](https://subashmagar.com) at [SNM Digitech and Consulting](https://snmdigitechconsulting.com).