Friday, April 26, 2024
4 changes · master
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.
Payroll users can now open an employee contract directly in the main page from a payslip instead of a smaller pop-up window. This makes it easier to review detailed contract information and prevents creating contracts on the fly from payroll screens, reducing accidental or inappropriate records.
Original PR description
This commit adds a new widget to open a many2one field in current mode from a form view instead of a modal view. This is useful when the view to load is too heavy/big and the user wants to quickly check some information. task-3818439
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
Barcode commands and demo barcodes were updated to use shorter, easier-to-read values without special characters. This makes barcode sheets and shop floor workflows easier for staff to understand, remember, and scan consistently.
Original PR description
*: stock_barcode{_mrp,_picking_batch}, mrp_workorder
Revamp the barcodes of commands and demo data to be shorter and with no special characters. So that they are more readable and easier to remember.
COM PR: odoo/odoo#158827
Task-3774096