Daily updates from Odoo
Monday, May 6, 2019
4 changes · master
Enhancements to existing features
Password reset will now be turned on automatically in general settings. This helps users recover access when they forget their password without requiring administrators to enable the option first.
Original PR description
Description of the issue/feature this PR addresses: - Reset password settings should be enabled by default Task - https://www.odoo.com/web#id=1925281&action=327&model=project.task&view_type=form&menu_id=4720 Pad - https://pad.odoo.com/p/r.cee7c96dbdd2027beceffbf31a6a8b2a Current behavior before PR: - Reset password setting was not enabled by default in general settings Desired behavior after PR is merged: - Reset password setting will be enabled by default in general settings -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Employees now see only their own documents when accessing document management from their employee record. HR document storage is better organized with new tags for employee documents, payslips, certifications, and fleet-related documents, while the appraisal tag has been removed.
Original PR description
In this commit - 1) Restrict the employee. Now he/she can only see his/her documents when from the stat button on employee form, the employee goes to the dms. 2) Added new tag in HR folder of DMS - 2.1) Employees Documents 2.2) Payslips 2.3) Certifications 3) New folder in DMS - 3.1) Fleet 3.1.1) Vehicles Documents 3.1.2) Fine 4) Removed the appraisal tag. This is related to task# 1933708.
Resolved issues and error corrections
This fixes broken VoIP actions caused by recent JavaScript framework changes. Users can again place calls from the recent calls tab and use caller or recipient actions such as sending email or opening profiles.
Original PR description
Due to the changes to the JS framework, some changes where required as functionalities of voip were not working anymore as some of the promises were not catched. Fixed: - Calling using recent tab - Send mail to/open profile of caller/called person.
Code cleanup and technical improvements
Accounting report settings were reorganized to make reports easier to extend and maintain. The General Ledger was also optimized, reducing processing time and database queries in tests, which should make large reports load faster.
Original PR description
Refactoring of the options ==================== - Manage the options with a domain instead of passing all keys in the context in order to use the _query_get. - Manage filter_date always with a dates…
Refactoring of the options
====================
- Manage the options with a domain instead of passing all keys in the context in order to use the _query_get.
- Manage filter_date always with a dates range but decide the mode ('single' or 'range') directly in the filter_date. It improves the date management ('date_from'/'date_to' are always in options['date']) and the comparison management (comparison with single date + previous period).
- Allow to be more extensible with new features. E.g: filtering on accounts in the general ledger could be simply added to the options domain instead of managing this filter at each _query_get.
- Add methods allowing to retrieve all selected companies/journals more easily.
- Reorder the file to have all method having an options-purpose at the top of file.
Refactoring of the General Ledger
==========================
- Speed up the General Ledger (see commit for more details).
task:
https://www.odoo.com/web#id=1888408&action=333&active_id=967&model=project.task&view_type=form&menu_id=4720