Thursday, December 6, 2018
5 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.