Wednesday, May 11, 2022
2 changes
Enhancements to existing features
This update removes unnecessary cleanup steps from automated tests in several Odoo apps. It reduces maintenance noise and prepares the platform for upcoming changes to the Discuss app testing environment, with no expected impact on everyday users.
Original PR description
*: account_invoice_extract, documents, voip. Since community#86338, widget destruction is registered in the start method. Thus, explicit calls to widget.destroy during tests are useless. This PR prepares the ground for the one introducing the new environment in the discuss app. Indeed, the former PR will use createWebClient instead of createView/Widget constructor thus, we won't be able to call destroy on the returned value anymore. In order to reduce the noise in the main PR, all the calls to widget.destroy have been removed. task-2582313 community: https://github.com/odoo/odoo/pull/91082
Accounting entries now include a standard way to identify the purpose of each line, such as payment, rounding, or display-only lines. This makes financial processing and reporting easier to filter, maintain, and extend across accounting-related features.
Original PR description
There is a few use case where we need to filter aml based on some specificities, such as liquidity/counterpart lines on payment, cash rounding lines, display lines,... This change aim to standardize this by adding a line_type field that would allow to specify the line purpose, making it easy to filter where needed but also to extend if needed. Task id #2747764