Daily updates from Odoo
Saturday, June 8, 2019
3 changes
Resolved issues and error corrections
This update prevents crashes when a user works in a different company than their employee record. Leave management now checks accessible employee information first, improving reliability in multi-company setups.
Original PR description
-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes a timing issue where simultaneous cart and product information updates could interfere with each other during checkout. Customers should see more consistent cart behavior, reducing the chance of errors when adding products or loading product details.
Payroll leave calculations now use the work schedule set on the employee's contract rather than the employee record. This helps ensure reported leave days and hours match the actual contractual schedule used for payroll.
Original PR description
In order to have the real number_of_days/number_of_hours we need to use the calendar defined on the contract of the employee instead of using directly the employee's calendar