Daily updates from Odoo
Tuesday, April 16, 2019
5 changes · master
Resolved issues and error corrections
This update fixes small issues in the online shop experience, including incorrect labeling and iframe closing behavior. These corrections help make product pages and website sales interactions clearer and more reliable for shoppers and staff.
Original PR description
…20f9d9e21141baf6 Description of the issue/feature this PR addresses: 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 change adjusts when certain online shop price list checks run so they happen after installation instead of during setup. This helps avoid unrelated test failures and keeps automated validation more reliable without changing customer-facing behavior.
Original PR description
Before this commit, theme runbot-theme was red somehow for the geoip pricelist test. Adding post_install seems to fix the issue, anyway it is better to flag the tests as such as it make no sense to test pricelists during module install.
This fixes an issue where timesheet unit fields could use the wrong display format in normal loading mode. Users should now see timesheet values shown with the correct unit format consistently, matching the intended company/session settings.
Original PR description
When the assets are loaded, the `hr_timesheet.timesheet_uom` scope is loaded in order to bind the `timesheet_uom` to the correct already existing widget (defined in the session, like `float_time` or `float_factor`, ...). The problem is that in normal mode (not debug assets), when the binding is done, the field_registry is empty, so the correct base widget is not applied. The fix is to add the scope filling the registry in the requirements of the `timesheet_uom` scope. Strangely, it was working in debug assets mode. Description of the issue/feature this PR addresses: 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
Odoo Studio users can edit search views again after a recent change accidentally made them unavailable. This restores expected customization options for filtering and searching records in Studio.
Original PR description
Since rev. odoo/enterprise@520c017 it wasn't possible to edit the search view anymore.
Gantt schedule items now appear in the correct time slots on days affected by daylight saving time changes. This prevents confusing placement errors when a day has a missing or repeated hour, improving reliability for teams using planning views.
Original PR description
When we switch to DST, two unusual things happen: - One day is missing one hour (1pm then 3pm) - One day has the same hour twice (2pm then 2pm) Before this commit, pills were placed in wrong slots on those days because of the missing/duplicated slots. To fix this, I changed the way we insert pills into slots, which is now the same way we match pills into intervals for aggregation. Because the variable was named "pillsInThisSlot", I thought I could merge the two and only compute it once. However, one of them put pills into slots (the new one), while the other actually put pills into intervals (the existing one), so I changed the name of the existing variable to make the difference more obvious.