Saturday, October 21, 2023
2 changes · master
Code cleanup and technical improvements
The expense management area was reorganized and cleaned up to make it easier to maintain, with outdated fields and deprecated template usage removed. The change is intended to have little to no visible impact for users while improving reliability through better-focused tests and fixing an employee search issue.
Original PR description
[REF] hr_expense: Technical refactor Accumulation of unused fields and naming conventions incoherence for models of a same file + depreciated code snippets + an overdose of tests that were either redundant or not testing real flow made expense a dull boy task-3358176 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update cleans up and standardizes the internal expense-related code, including naming, obsolete fields, and test coverage. It should make future maintenance easier while having little to no visible impact for users.
Original PR description
Accumulation of unused fields and naming conventions incoherence for models of a same file + depreciated code snippets + an overdose of tests that were either redundant or not testing real flow made expense a dull boy task-3358176