Friday, November 24, 2023
1 change · master
Features or functions removed from Odoo
This change removes unused partner record elements that were only used by tests, reducing unnecessary stored and preloaded data. Test coverage is reorganized into dedicated test modules so behavior remains covered while the core partner model stays leaner.
Original PR description
### [REM] base: remove unused method of `res.partner` `open_parent`/`main_partner` are unused. Remove them. ### [REM] base: remove `date` field of `res.partner` This field is only used in tests, but it still takes up space (because of the index) and is prefetched for no reason. Remove it, but keep it in the `test_read_group` module test, and move some tests there (`test_read_group` and the `test_read_progress_bar.py` file). `test_groupby_date` and `test_read_group_1` have been removed because the `test_read_group` module already tests these cases (coverage remains the same). https://github.com/odoo/enterprise/pull/51119 https://github.com/odoo/upgrade/pull/5374