Tuesday, November 19, 2024
11 changes · master
Enhancements to existing features
This update aligns the HR Referral applicant area with improved checks for whether users can access specific fields. It helps ensure the application respects field visibility rules more consistently, reducing the risk of users seeing or interacting with information they should not access.
Original PR description
task-4331116 odoo/odoo#186908
Spreadsheet-related data lookup methods are now marked as read-only, helping the system handle these requests more efficiently. This is an internal performance and reliability improvement with no expected change to user workflows.
Original PR description
## Description Adds the `@api.readonly` decorator to methods that only perform data retrieval in spreadsheet-related models and controllers. Task: [4317048](https://www.odoo.com/odoo/project/2328/tasks/4317048)
The Time-Off overview Gantt view now opens with the current month selected by default instead of a broader date range. This makes it easier for managers and employees to focus on the most relevant upcoming absences without manually adjusting filters.
Original PR description
This PR improves the Gantt view in the overview menu of the time-off module by setting the default filter to `This Month` instead of a date range. task-4239714
Internal test users now include partner management access by default, matching the access commonly used by real internal users. This reduces setup friction and supports upcoming mail and recipient handling improvements.
Original PR description
Add 'base.group_patner_manager' by default on test internal user as anyway it is mostly always used for internal users. Prepares Task-4332797 : [mail] Partner from emails 3.0 Prepares Task-4273479 : [mail] Email-like recipients
Adding a spreadsheet to a dashboard now clears old breadcrumb links that could point users back to previously archived spreadsheet documents. This reduces confusion and makes the dashboard creation flow cleaner and easier to follow.
Original PR description
When adding a new dashboard, existing breadcrumbs may lead to confusion, as they keep links to previous archived spreadsheet document. This commit clears breadcrumbs when adding a new dahsboard, ensuring a better user experience. task-3416361
US regular payroll calculations can now include employee bonuses and approved expenses directly in payslips. Bonuses are treated as taxable income before taxes, while expenses are added after taxes, helping payroll teams handle these common payments more accurately.
Original PR description
Add `Bonus` input type to `United States Regular Pay Salary Structure`.
Use `Expenses` and `Bonus` input types in the computation of payslips.
* Expenses:
* Allows users to include expenses (added automatically from the Expenses app) into the salary calculation when using the Structure Type "United States: Regular Pay". The rule is placed post taxes in the structure.
* Bonus:
* Add an Input type in "hr.payslip.input.type" called `Bonus`.
* "Bonus" allows users to add an extra source of income for employees that have associated the "United States: Regular Pay" Structure type in their payslip. The rule is placed pre-taxes in the structure, it is a taxable amount.
task-4097635The rental point-of-sale flow was aligned with recent quotation screen behavior so tests reflect the correct order quantities. This helps ensure unpaid amounts are calculated consistently and reduces the risk of regressions in rental sales validation.
Original PR description
This commit adapts a test so that it follows the logic of the changes of the pos quotation screen. The test has to be adapted because the quantity of the orderline was 0 before and that was leading to a zero amount unpaid. Community PR: https://github.com/odoo/odoo/pull/175365 task-id: 4070347
The Knowledge app now uses a simpler internal setup when loading messages, grouping related options together. This should make the code easier to maintain without changing how users interact with the feature.
Original PR description
This commit moves `search_term`, `before`, `after`, `limit` and `around` fetch params to a single parameter as `options` to simplify the code. This change applies to all available fetch messages routes. Suggested [here](https://github.com/odoo/odoo/pull/182334/files#r1811034899) Related to odoo/odoo#187192
Spreadsheet cell data is now saved in a simpler format, reducing exported file sizes significantly. This can make spreadsheet dashboards and document-related spreadsheet operations faster and lighter to store or transfer.
Payroll now shows warnings for untrusted employee bank accounts directly in the standard payroll app instead of only in the SEPA payroll extension. This helps all payroll localizations spot potentially unsafe payment details before processing salaries.
Original PR description
This will move the warning for untrusted bank accounts from the sepa module to standard payroll so that it's available for all localisations. Task: 4023575
The referral module now includes a reward report that helps review rewards earned by employees for successful referrals. This gives businesses clearer visibility into referral program performance and employee incentives.
Original PR description
This PR improves the referral module's report by adding a reward report that evaluates the data of rewards earned by employees for successful referrals. task-3946561