Daily updates from Odoo
Navigate
Branch
Wednesday, November 7, 2018
8 changes
Enhancements to existing features
This update makes HR presence tracking more flexible by allowing an employee's presence to be forced when needed, while reducing unnecessary follower notifications from related emails. It also streamlines leave handling by opening the leave request form directly and fixes a calculation issue so default full-day leave requests store the correct number of days.
Original PR description
Fine tune the module to improve the business flow: 1/ Allow to force the presence of an employee 2/ Don't notify followers when sending a email 3/ Open the leave request form instead of the leaves list
Adds a Team Leader role for time off management, allowing designated leaders to approve leave requests for employees assigned to them. Employee records now include a Leaves Responsible person, making approval responsibility clearer and more flexible than relying only on managers.
Original PR description
New hierarchy: Team Leader < Officer < Manager People in Team Leader access group will now be able to approve leaves for employees in their team. 'In their team' means : 'leave_manager_id' field in an employee form refers to the Team Leader. * Added the new access group * Added rules for people in this group to read or write appropriate records * Added the new field to Employee model * Added the field to the view so that it is visible * Modified a filter in a view so that it is more relevant according to its name (My Team Leaves) * Added a filter in a view for managed employees Related to task : [hr_holidays] Add 'Team Leader' Access Right + Specific Validator
The Group By option in employee contracts now uses the label “Employee Category” instead of “Contract Type.” This makes the wording consistent with the contract form, reducing confusion for users when filtering or grouping contract records.
Original PR description
Task : https://www.odoo.com/web#id=1871507&action=327&model=project.task&view_type=form&menu_id=4720 pad : https://pad.odoo.com/p/r.2663c14086c9292b63983e37aabd68c2 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Chart of accounts installation is now significantly faster by creating accounts and journals in larger batches. This reduces setup time for accounting localizations, helping new company or localization configuration complete more quickly.
Original PR description
Tested with l10n_es COA (completo): before: +- 22000 queries in +- 12 seconds after: +- 6000 queries in +- 4 seconds -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The CRM manual assignment setting is now visible in the standard settings view instead of being hidden behind debug mode. This makes it easier for business users and administrators to configure lead assignment without needing technical access.
Original PR description
…mode. Task ID : https://www.odoo.com/web?#id=1903212&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad Link : https://pad.odoo.com/p/r.023e22666776996787bfc58c549f6ea0 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
This fixes an error that could occur when the system calculates stock picking details for more than one transfer at a time. It helps keep warehouse operations reliable by preventing unexpected tracebacks during batch processing.
Original PR description
In the compute function _compute_move_without_package, we use self instead of picking variable, which leads to traceback when more than one picking is computed
This corrects two remaining internal references after a logging field was renamed. It helps keep logging behavior consistent and avoids errors from outdated field names, with no expected change for everyday users.
Original PR description
**Description of the issue/feature this PR addresses:** In https://github.com/odoo/odoo/commit/fb7ac56d65a0d4c634a4c9387bf25bbc229d5caa was renamed `type` to `logging_type`. It seems I missed two cases 😅 **Current behavior before PR:** There are two cases where `type` should be `logging_type`. **Desired behavior after PR is merged:** Previous cases are fixed. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Code cleanup and technical improvements
This update removes unused logic from the stock traceability report that has not been active since an earlier refactoring. It reduces maintenance overhead without changing how users view or use the report.
Original PR description
Since refactoring is saas-11.2. _lines is never call with a set line_id. This commit remove code that depends on a condition based on a line_id and remove the line_id from the kwargs. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr