Wednesday, July 22, 2020
3 changes · master
Resolved issues and error corrections
Project settings can now be saved after turning off Planning and Timesheets without triggering an error. This prevents disruption for users changing configuration options and keeps related stock settings working normally.
Original PR description
Steps to reproduce: - go to Project > Configuration > Settings - unselect planning + timesheets and save Observed behavior: the following traceback is generated TypeError: Composed elements must be Composable, got 'project_worksheet_template_res_company_rel' instead LINKS: PR: #54728 Task-id: 2297047
Fixes a Chrome-specific issue that caused some website editor settings tied to styling variables to appear incorrectly or stop matching selected values. This restores expected editing controls for website snippets and helps users reliably adjust colors, labels, and related design options.
Original PR description
*: website Commit [1] broke the UI for some options related to CSS variables when using Chrome. The commit made sure the string-value CSS variables are printed with quotes, so that the JS representation of the CSS values can distinguish them (strings = strings with surrounding quotes, others like colors, numbers, etc = strings without surrounding quotes). With chrome, the printed surrounding single quotes are read as double quotes for strange reasons though... so the value "a" was not considered equal to the value 'a'. This commit makes sure surrounding quotes are normalized. This is done through a new utility function to read CSS variables. This also makes sure the values are trimmed, and colors normalized. [1]: https://github.com/odoo/odoo/commit/3a34e39caa8544059dfb1888edc29c62c3efde31
This fixes an issue where the helper message for an empty Kanban view could reappear after creating a record in a grouped view. Business users will see a cleaner, less confusing interface because the message is now shown only when there are no records at all.
Original PR description
before this commit, In a grouped kanban view, when the record is created, the no content helper reappears, whereas it shouldn't. this commit fixes the issue and now no content helper only appears when there is no record in kanban view. task - 2294300 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