Friday, April 26, 2024
4 changes
2 changes
Enhancements to existing features
The document spreadsheet test suite was adjusted to stay compatible with an updated spreadsheet library. This helps ensure document spreadsheet features continue to be validated reliably without changing day-to-day user workflows.
Odoo now checks for circular relationships in records using a more efficient database query. This helps prevent invalid loops in areas like payroll, knowledge articles, and marketing automation while improving reliability and performance behind the scenes.
Original PR description
Implement checking recursion using a single recursive SQL query. The query starts from self.ids and follows a relationship. We can use the same query for both many2many and many2one relationships. _has_cycle now will not return False if some reachable records are part of a loop and are not in self.ids. This is acceptable because this method is called after modifications with ids of changed records and we can suppose that unchanged records did not introduce a loop. https://github.com/odoo/odoo/pull/162656
2 changes
Enhancements to existing features
A helpful tooltip has been added to the 'Withhold Agent Number' field in Ecuador's accounting settings to clarify its purpose and usage. This improvement addresses user confusion and support issues by providing clear guidance directly in the system, enhancing the overall user experience for Ecuadorian businesses using Odoo.
Original PR description
Adding tooltip to Withhold Agent for l10n_ec localization in accounting settings under Ecuadorian Localization Reason is to give the user tip about what this field actually hold and enhance the user experience as some users raising some issues because of the lack of knowing this field Task [link](https://www.odoo.com/web#model=project.task&id=3819108) Task-3819108
This update separates warning message handling into a dedicated function, making it easier for developers to customize and translate field-related warnings. This improvement enhances the flexibility of the core system for localization and customization purposes.
Original PR description
**In this pr, i want separate the warning into a separate function so that developers can easily customize the translation of the related field** --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr