Friday, May 3, 2024
1 change · master
Resolved issues and error corrections
This update fixes invalid text escape patterns across multiple Odoo Enterprise modules to avoid warnings in newer Python versions. It helps keep the system compatible with Python 3.12 and future releases without changing business features or workflows.
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