Daily updates from Odoo
Saturday, July 15, 2023
1 change · master
Code cleanup and technical improvements
Removed an internal cash flow report field that became unnecessary after a prior performance optimization. This reduces redundant code and helps keep the reporting engine easier to maintain, with no expected change for end users.
Original PR description
### Reason for the refactoring: This PR https://github.com/odoo/enterprise/pull/43971 introduced a query optimization that efficiently retrieves `payment_move_ids`. As a result, the `payment_move_ids` field has become redundant and no longer serves any purpose in the codebase. ### Current behavior: The codebase contains the `payment_move_ids` field, which is not relevant after the query optimization. ### Expected behavior: Remove the unnecessary `payment_move_ids` field to streamline the code and eliminate redundant functionality. ### Result: In this refactoring, the `payment_move_ids` field is removed from the codebase since it is no longer needed after the query optimization. This eliminates unnecessary code and simplifies the overall structure. opw-3220665