Monday, November 2, 2020
2 changes · master
Code cleanup and technical improvements
This update simplifies how the website editor applies visual style classes behind the scenes. It should not change how users work with the editor, but it makes the code easier to maintain and includes minor editor library fixes.
Original PR description
This helper is the equivalent of jquery's `toggleClass` with a value for the `force` attribute. I chose to name it `setClass` instead because with that attribute it's technically not toggling: it's setting. Related JW PR: https://github.com/odoo-dev/jabberwock/pull/457 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update removes unnecessary read-only settings from labels in the Time Off module. It does not change how employees or managers use the system, but it makes the underlying configuration clearer and easier to maintain.
Original PR description
WHY: it's a copy-paste mistake and doesn't have any meaning, while makes code less readable Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr