Tuesday, January 10, 2023
2 changes · master
Features or functions removed from Odoo
This change removes unused internal fields, an unused list view, and deprecated view-loading methods from Odoo's base system. It simplifies maintenance and reduces obsolete code without expected impact on day-to-day business workflows.
Original PR description
[REM] base: remove useless `module_nr` field of `ir.module.category` The last usage was an unused tree, previously removed. [REM] base: remove useless list view of `ir.module.category` The tree view `view_module_category_tree` was unused, remove it. The form view (`view_module_category_form`) of `ir.module.category` is still used in the `view_groups_form` view. [REM] base: remove useless field `field_parent` of `ir.ui.view`. This field is useless since 905e01921f3c3ef43ace6fc537d1d8c0d280002c. Remove it and all occurence of it in view records. [REM] base: remove deprecated methods of `ir.ui.view` Since https://github.com/odoo/odoo/pull/87522 (landed in v16), `fields_view_get`, `_fields_view_get` and `load_views` are deprecated. Remove it for maintenance (and it is the last usage of the useless field `field_parent`). https://github.com/odoo/enterprise/pull/35586 https://github.com/odoo/upgrade/pull/4192
An unused internal field in the view system was removed because it no longer served a purpose. This simplifies maintenance and reduces unnecessary metadata without affecting day-to-day users.
Original PR description
This field is useless since 905e01921f3c3ef43ace6fc537d1d8c0d280002c. Remove it and all occurence of it in view records. https://github.com/odoo/odoo/pull/109420 https://github.com/odoo/upgrade/pull/4192