Wednesday, May 15, 2024
6 changes · master
New functionality added to Odoo
Repair teams can now use quality checks directly on repair operation types, helping ensure repaired products meet required standards before completion. This adds quality control coverage for repairs while excluding quantity-based controls that are not applicable to this workflow.
Original PR description
Make quality checks effective on repair operation type, except Control per Quantity. task: 3773572
Enhancements to existing features
Australian payroll now includes employee expense reimbursements in payslip net salary calculations. This helps ensure reimbursed expenses are reflected correctly when payroll is processed, reducing manual adjustments and payment discrepancies.
Original PR description
The hr_payroll_expense module adds expense as other inputs to the payslip. However, this is not accounted in the net salary. This commits adds a new salary rule that adds expense reimbursement to the salary slip and includes it in the net salary. task# 3821955
Inventory teams can now choose whether barcode users see the expected quantity while counting, helping encourage real physical counts. A new option also ensures scanning a location loads all products expected there, reducing the risk of missing items during inventory adjustments.
Original PR description
Before this commit ================== - There were no settings to hide theoric quantity. - Another issue was that when scanning a location for inventory adjustment and finding nothing assigned to them, only the scanned products were displayed. This creates a problem where products with expected quantities (qty>0) that couldn't be physically found were missed during scanning. After this commit ================== - Added settings to hide theoric quantity, which allows to hide the expected quantity of a product to count in a location. - When scanning a location during an inventory adjustment, the module now loads all quants from that location. Community PR: https://github.com/odoo/odoo/pull/154848 TaskId-3479636
The Documents app now disables or hides actions users are not allowed to perform, such as uploading to or moving files into workspaces where they lack write access. This prevents confusing error messages and gives users clearer guidance when working with restricted folders or the trash.
Original PR description
We disable the "upload" button when the user doesn't have write access to the selected workspace. We ensure that the workspace field in the inspector does not allow to select non-writable workspaces, as the user cannot move selected items to those workspaces. We extend the feature developed in odoo/enterprise#38430 to the trash and non-writable workspaces, to avoid having an error when dropping files in the trash or a non-writable workspace. Task-3707728
Users can now move records in the Gantt view even when the view is grouped by property fields, making planning workflows more flexible. If a record is moved to a property row that does not apply to it, the system shows an error instead of making an invalid change.
Original PR description
Purpose ======= Allow moving the records when they are grouped by a property in the gantt view. If we move a record to a row corresponding to a property that the record doesn't have, an error is raised (because we won't change its parent). Task-3876726
Employee timesheet leaderboards now include employees only when they had an active or relevant contract during the selected period. This makes rankings more accurate and fair by excluding employees who should not be counted based on employment status.
Original PR description
Currently, contracts have 0 effect over the leaderboard, meaning that an employee will be part of the leaderboard whether they have a contract or not. This commit aims to add support for the contracts over the leaderboard, making employees part of it only if they had a contract or if they have a running contract on the selected period of time. The tests were adapted to remove the "post_install" tag, as the bridge module added in this commit changes the way employees are included in the leaderboard. task-3761558