Daily updates from Odoo
Friday, January 19, 2024
3 changes · 17.0
Enhancements to existing features
This update makes marketing automation server actions easier to use by replacing complex Python code with a more user-friendly interface. The underlying system has also been improved to be more reliable and maintainable, with new tests added to ensure everything works correctly.
Original PR description
This commit converts server actions from python to more user friendly interface. The commit also improves `_create_records_with_xml_ids`, by removing try/except block and doing same thing using ORM. Commit also adds test, that tests the functionality of `_create_records_with_xml_ids` function. task-3597555
The salary configurator for Belgian HR contracts now displays detailed bike information similar to car details. Employees can now see bike specifications including monthly rental cost, electric assistance availability, color, frame type, and frame size when reviewing bike benefits in their salary packages.
Original PR description
Like we have it for cars, we add the following description to bikes in the salary configurator : Monthly cost : [contract value] (Rent) Electric Assistance : Yes/No Color Bike Frame Type Frame Size task-3640749
This update adds comprehensive tests for the formatLang() function in Odoo's tools module. By establishing a solid test foundation, the development team can safely improve and refactor this function in future versions without accidentally breaking existing functionality that users depend on.
Original PR description
Tests the method formatLang() to be able to do safe(r) refactoring in future versions. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr