Daily updates from Odoo
Wednesday, November 7, 2018
3 changes · master
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
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