Monday, April 29, 2024
3 changes · saas-17.2
Resolved issues and error corrections
This update fixes code patterns that trigger warnings in newer Python versions across several Odoo apps. It helps keep the platform compatible with future Python releases and avoids warning noise without changing business 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 update cleans up code patterns that trigger warnings in newer Python versions, helping keep Odoo compatible with future platform updates. It affects multiple business modules but does not change user-facing features or workflows.
This fix improves the background styling in Odoo Studio so guide lines remain visible when creating a new app. It helps users work more confidently in both normal and dark modes by avoiding a confusing visual issue.
Original PR description
Before this commit: while creating new using the studio line is not visible also this same issue is in dark mode too. After this commit: while creating a new app using Studio Line should be visible properly in normal mode and dark mode too. Task-3845561
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 #61571