Daily updates from Odoo
Thursday, October 15, 2020
6 changes
Enhancements to existing features
Payroll holiday generation was updated to make company-wide and global time off changes update work entries automatically. The change also clarifies how overlapping company, global, and personal leave should be prioritized so payroll calculations reflect the right absence type.
Original PR description
- Add a new menu in Payroll/Configuration to setup the working time - Rewrite the CRUD operations for resource_calendar_leave, so the work entries will be updated dynamically when Company global leaves or global leaves are modified - Personal leaves (hr_leave) and global leave (resource_calendar_leave) can overlap. And the work entries are generated by the priority as `Company Global Time Off` > `Global Time Off` > 'Personal Leave' TaskId: 2181651
The timesheet Kanban view has been redesigned to make key information easier to scan, including employee photos, project and task names, and recorded duration. Users can now adjust time directly with plus and minus buttons and start or stop timers from the card, making daily time entry faster and more intuitive.
Original PR description
-Kanban view revamp:
-On the left: display the picture of the employee
-In the middle: the name of the project and below, the name of the task
-On the right: the duration with - / + buttons
-When you click on the + and - buttons, the time will change according
to the rounding of the timesheet setting.
-When the mouse hovers over the duration, the play button will appear and then
click on the play button, the timer will start, and the stop button will appear.
Task-ID: #2264613Field service planning menus now include map views, making it easier for teams to visualize scheduled work by user, project, or worksheet. The planning by user menu also gains pivot and graph reporting views for better workload analysis.
Original PR description
… menus Before, there were no map views in Planning menus. From this commit, we have map views in Planning menus:- field service > planning > by user field service > planning > by project field service > planning > by worksheet Also, we added a pivot view to the field service > planning > by user menu task:- 2348345 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The printed payslip report has been redesigned to be clearer and more useful for employees. Payslips are now generated in the employee's language, with additional wording when the language is not official, and demo payroll data has been enriched.
Original PR description
Improves the design of the payslip report Generates the report in the employee's language Adds some data to Laurie Poiret Task-2341886
Resolved issues and error corrections
Payslip calculations now use the proper contract wage value, improving payroll accuracy. Contracts created from templates no longer show a misleading previous contract button that points back to the template.
Original PR description
- In payslips, computed amount is not based on integer payslip.normal_wage but on payslig__get_contract_wage method - When a contract is created from a contract template, the 'previous contract' button, leading to the template, is now invisible modified: hr_contract_salary.hr_contract.py, hr_contract_salary.hr_contract_views.xml, hr_payroll.hr_payslip.py task: 2326391
The timesheet grid and pivot views now correctly respond when users click mobile app store icons. Desktop users see the QR code wizard, while mobile users are sent directly to the app link, and the Chrome app icon is hidden on mobile devices.
Original PR description
… grid view _(*) = project_timesheet_synchro Currently, Pivot and grid view is migrated to the owl so old mixin which override the _renderview method will not work so to fix that we need a new mixin and keep the old mixin as it is used in other views. So in this commit, create a new mixin for QRcode, to enable the play store icon click events and open the QRcode in the wizard for desktop view and direct link for mobile view. Hide the chrome app icon from everywhere for mobile devices. TaskID: 2323254