Daily updates from Odoo
Tuesday, February 13, 2024
2 changes
1 change
Code cleanup and technical improvements
The Knowledge app's automated checks for article history were updated to match recent interface changes. This helps keep quality checks reliable without changing the user-facing feature itself.
Original PR description
This commit is the enterprise counterpart of commit [1]. Since we now use the Notebook component in the HistoryDialog, the classes have changed, and the tour testing the history feature needed to be adapted. Now, the tour is correctly using the latest selectors. [1]: f301d61bf8a751fabacd6f6d4541bcd0489c48ab Linked Community PR: https://github.com/odoo/odoo/pull/153372
1 change
Code cleanup and technical improvements
The intrastat report's query building function has been reorganized and simplified to improve code clarity and reliability. This cleanup helps prevent technical issues with the system's security checks and makes the code easier to maintain going forward.
Original PR description
`_build_query` is a rat's nest of randomly sprinkled `SQL`, which seems to end in the sql injection checker getting confused and non-deterministic. Do some cleaning to try and make it more understandable for the linter. Forward-Port-Of: odoo/enterprise#56367