Sunday, September 1, 2024
8 changes · master
New functionality added to Odoo
Payslips can now show year-to-date totals for payments and deductions, helping employees and payroll teams see annual accumulated amounts directly on each payslip. Companies can configure when these totals reset and control whether the YTD column appears for each payroll structure type.
Original PR description
The "Year to Date" (YTD) field shows the accumulated total of each payment/deduction of the current year in the payslip (in a YTD column). The reset date of the YTD is customizable. YTD can be toggled on the structure type scale, and also on each single rule. task-4001255
Enhancements to existing features
Several Odoo apps now define the required IAP service records needed by recent platform changes. This keeps document extraction, tax localization, electronic invoicing, signing, and messaging tests aligned with the new service account structure.
Original PR description
With the improvement of the iap account model made to the community codebase, iap_service data has to be created for modules that require it and tests mocking the model had to be changed to the new structure. task-3741280
Miscellaneous changes
This commit ensures that the caret is not displayed on hover in `RecordSelector` , `MultiRecordSelector` components when they are present in sidebars and report editors. Displaying the caret in sidebar RecordSelectors creates an awkward and visually unappealing effect. This issue arises because, in sidebars, the entire input area is a RecordAutocomplete with padding and margin. Task-3777903 Forward-Port-Of: odoo/enterprise#68980 Forward-Port-Of: odoo/enterprise#68772
Original PR description
This commit ensures that the caret is not displayed on hover in `RecordSelector` , `MultiRecordSelector` components when they are present in sidebars and report editors. Displaying the caret in sidebar RecordSelectors creates an awkward and visually unappealing effect. This issue arises because, in sidebars, the entire input area is a RecordAutocomplete with padding and margin. Task-3777903 Forward-Port-Of: odoo/enterprise#68980 Forward-Port-Of: odoo/enterprise#68772
The project dashboard top bar now includes additional context from related document, planning, budget, and subscription areas. This helps users understand project status and profitability more quickly without navigating away from the dashboard.
Original PR description
dashboard This commit is a foolow up of its community part. It aims to add the necesseary items into the top bar added in community. task - 4047543
Steps to reproduce: - Install Sign - Open Sign, add a document and put a signature box - Make the sign box have a weird aspect ratio (very short and super wide for example) Issues: When you sign with the frame, the frame will be partially hidden making the hash invisible. Solution: Put the container back just like in the 16.0, that way we don't have the weird CSS behavior that we had previously. opw-4042289 Forward-Port-Of: odoo/enterprise#69161 Forward-Port-Of: odoo/enterprise#68
Original PR description
Steps to reproduce: - Install Sign - Open Sign, add a document and put a signature box - Make the sign box have a weird aspect ratio (very short and super wide for example) Issues: When you sign with the frame, the frame will be partially hidden making the hash invisible. Solution: Put the container back just like in the 16.0, that way we don't have the weird CSS behavior that we had previously. opw-4042289 Forward-Port-Of: odoo/enterprise#69161 Forward-Port-Of: odoo/enterprise#68015
https://github.com/odoo/odoo/pull/177084 Forward-Port-Of: odoo/enterprise#68573
Original PR description
https://github.com/odoo/odoo/pull/177084 Forward-Port-Of: odoo/enterprise#68573
Forward-Port-Of: odoo/enterprise#69207
Original PR description
Forward-Port-Of: odoo/enterprise#69207
Since odoo/enterprise#38575, portal users can create/edit knowledge articles. However, the test that checks that feature is not correct: - it does not call `check_access_rights()` (for ACLs); - it uses a `res.partner` instead of a `res.users` in `with_user()`. Because the test only checks access rules with a non-existing user, no rules are found, and the check is therefore trivial. In other words, the test passes by accident :-( The fix consists in creating a portal user for the corr
Original PR description
Since odoo/enterprise#38575, portal users can create/edit knowledge articles. However, the test that checks that feature is not correct: - it does not call `check_access_rights()` (for ACLs); - it uses a `res.partner` instead of a `res.users` in `with_user()`. Because the test only checks access rules with a non-existing user, no rules are found, and the check is therefore trivial. In other words, the test passes by accident :-( The fix consists in creating a portal user for the corresponding "customer" contact, and add the expected calls to `check_access_rights()`. Forward-Port-Of: odoo/enterprise#69157