Monday, April 29, 2024
3 changes · 17.0
Resolved issues and error corrections
Fixed a display issue in the Sequences settings page where the legend text was difficult to read due to being confined to a single column. The text now spans multiple columns, allowing it to display properly without awkward line breaks. This improves the user experience when viewing sequence information in the Technical Settings.
Original PR description
Issue ----- The trailing text on the `ir.sequence` view is unreadable due to spanning only one column which leads to awkward line-wrapping. Steps ----- - Go to Settings -> Technical -> Sequences. - Select the sequence with code "sale.order". - Have a look at the legend. Cause ----- The `<div>` containing the text spans only one column which is not suitable for long text. opw-3820141 Forward-Port-Of: odoo/odoo#160912
This update fixes code compatibility issues with Python 3.12 by correcting invalid escape sequences throughout the Odoo codebase. These syntax warnings would become errors in future Python versions, so this proactive fix ensures the system continues to work smoothly as Python evolves. The changes are technical in nature and do not affect user-facing functionality.
Original PR description
Since python3.12 invalid escape sequences are deprecated and this will be removed in future versions. This commit fixes all the missing escape automatically using All checks passed!. Some will be escaped, other may be replaced by r string. Another solution would be to hide the deprecation warning but this would maybe need to adapt some of the versions later leading to another forwardport hell, lets fix it one for all once we are at it. Note that ruff check will forbid to introduce new ones in any cases. Manual forward port of #163493
This fix corrects a test in the Manufacturing Subcontracting module that was failing in the community version due to an incorrect field reference. The test was using an outdated field name that only worked when an enterprise module was installed, masking the underlying issue. The fix ensures tests run correctly across all versions.
Original PR description
qty_done -> quantity Breaks tests for community version. Error is undetected with enterprise module 'stock_barcode' that re-introduce the field 'qty_done'