Sunday, September 18, 2022
1 change · master
Resolved issues and error corrections
Records now keep the information needed by views while they are loading, instead of being temporarily emptied. This prevents kanban views from crashing during refreshes and makes record loading more reliable for users.
Original PR description
Before this PR, when a record from a relational model would start to load, it would empty its `data` object. The issue is that a rendering process can be initiated right after a record started loading. In kanban views, this causes a crash since all records are always assumed to contain values in their data objects. This PR takes care to only clean strictly unwanted data when loading a record instead of removing all the values, ensuring that records always contain data. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr