Thursday, December 6, 2018
9 changes
Enhancements to existing features
The website and portal default background now uses a very light gray instead of pure white, helping white content cards stand out more clearly. Portal styling has also been aligned so its colors behave correctly with this new background, improving visual consistency for users.
Original PR description
Use a very very very light gray as body background color for the website so that default white cards have some contrast with the body. Also adapt the portal system to use the portal colors when the body bg color is equal to that very very very light gray (while it was compared to $white before).
The website social sharing popover now keeps its icons on a single row, preventing awkward wrapping on smaller buttons. The popover was also refreshed with clearer standard icons and each social platform’s own colors, improving visual consistency and usability.
Original PR description
Before this commit, the social media popover (used in forum but available everywhere) may break over multiple rows if used on a relative positioned small button. This however never occurred in standard <= 12.0 so we will consider this not a bug fix. This will however occur with the upcoming forum refactoring, so we needed a fix for master. This commit forces the social icons on one row and take the opportunity to refactor the template to make a simpler and more beautiful popover by using conventional icons and social media own colors.
The survey examples shown in demo environments were refreshed to better match realistic business scenarios. Recruitment survey examples were simplified and moved into demo-only data, while the main survey demo now focuses on ecommerce feedback instead of Odoo product usage.
Original PR description
Purpose of this merge is to update the demo data for surveys used in various applications, notably the base one in survey. It impacts survey (feedback survey to make coherent with odoo demo data and remove references to odoo as a product in odoo), hr_recruitment_survey (sample recruitment survey moved from data to demo and simplified). This merge is linked to task ID 1912228 and PR #29303.
This update adds checks to ensure employee benefits are handled correctly in payroll calculations. It helps reduce the risk of payroll errors by verifying multi-day benefits are split properly and reflected in payslips.
Original PR description
Some use cases are not tested. Add a test for validating a multiple day benefit: it should be split by day Add tests for payslip generation based on benefits: it should generate corresponding work_days_lines - test with benefit of type leave - test with benefit non leave Task #1915694 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Updated the appraisal module’s tests to stay aligned with refreshed survey demo data. This helps ensure appraisal workflows continue to be validated correctly when demo survey content changes.
Original PR description
This commit is linked to task ID 1912228.
Resolved issues and error corrections
This fixes a visual issue where card body backgrounds could cover rounded card borders. Users will see cleaner, consistent card styling across the web interface, matching the intended design.
Original PR description
Again (and definitely?) completes https://github.com/odoo/odoo/pull/29253 As the mentioned PR forces a background on card bodies, that background went over the card border corners as those are rounded. This commit fixes that by adding the correct border radius on card bodies, the same way bootstrap does it by default for card headers and card footers.
This fix makes gray background and text styling available consistently across Odoo’s web interface instead of only through the website editor styling. It helps ensure muted text and gray card sections display with the intended colors, improving visual consistency for users.
Original PR description
* web_editor Before this commit, the web_editor app defined gray utilities: bg-* and text-* classes for gray colors (on top of theme colors). Those are now defined for all bootstrap (note that this was already the case as the web_editor file was put in the backend and in the frontend). The difference is that now the gray utilities are defined just after the standard bootstrap. This allows to complete and fix https://github.com/odoo/odoo/pull/29253/files as text-muted in gray card bodies were not using the correct color without this (see code comments for details).
This update fixes a small issue in the Lunch HR app that could cause the “Available at current location” filter to fail during testing or use. It also removes outdated internal compatibility code, helping keep the app aligned with the current platform.
Original PR description
Python 2 helpers were removed in 758382b3a. Also, fix a typo in a search domain. This issue was found during the test_click_everywhere test when clicking on filter " Available at current location ".
The product form now shows subscription options for every product type, not only selected ones. This helps teams configure subscription-related products more consistently and reduces confusion when setting up offerings.
Original PR description
Purpose : make subscription visible for all product types in product form Task-1880039 closes #3069