Daily updates from Odoo
Friday, June 28, 2019
4 changes
Resolved issues and error corrections
The eLearning slide statistics view has been corrected so it displays properly after the Bootstrap 4 update. This helps users review course and slide performance information without layout issues or visual confusion.
Original PR description
Description of the issue/feature this PR addresses: Issue: https://drive.google.com/file/d/1h5WFaVaPFnf6ZZRhBMroXAe1xoKvtSxZ/view 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
This fix preserves existing company settings during installation of the Belgian payroll accounting module. It prevents later setup steps, such as point of sale configuration, from failing because the wrong company context was used.
Manufacturing quality checks no longer try to connect to an IoT device when none is assigned. This prevents unnecessary error messages and keeps control point workflows running smoothly when device details are missing.
Original PR description
When using iot devices for MRP control points, when no iot device was linked to the control point, the widget tried to connect to a device anyway, raising an error. The widget now first checks if the record contains an IP and device identifier.
Two-week work schedules now calculate average weekly hours instead of adding both weeks together. This keeps payroll-related work time rates accurate for employees using alternating schedules.
Original PR description
Currently, when we switch to a 2 week calendar, the amount of hour/week is the sum of both weeks, so this amount is false. The work time rate is based on the number of hours/week so this rate is also false. Now, if we are in a 2 week calendar, the number of hours by week is the mean over 2 weeks. id=2028294