Tuesday, February 16, 2021
2 changes · master
Resolved issues and error corrections
This fix makes Odoo's JavaScript processing more reliable when files have special characters in their names and when module markers use common spacing formats. It reduces the risk of valid JavaScript assets being missed or processed incorrectly during builds.
Original PR description
Change two regex:
Handles now special chars in file url
Fix problem in the regex for the @odoo-module detection
Add tests:
Creation of a new file for regex white box tests
Add tests for both modified regexCheckbox fields that reveal optional follow-up fields now display correctly on mobile screens. This improves form readability and alignment in Payroll, Planning, Accounting Assets, and related fleet contract workflows.
Original PR description
This PR adapts a class to be able to show/hide other fields depending on a checkbox status. This class is needed to have this behavior on desktop but also on mobile. We can now fix some alignment issues encountered on mobile. Related task-ID: 1929043