Daily updates from Odoo
Navigate
Branch
Tuesday, October 31, 2017
3 changes
Enhancements to existing features
This change improves Odoo's web testing tools so more mock environments can catch and handle internal events during tests. It helps developers validate interactions such as the app switcher more reliably, with no direct impact on everyday users.
Original PR description
Generalization of the field 'intercepts' at the
level of the function addMockEnvironment in
/web/.../testutils.js.
Previously, only createAsyncView had support for
'intercepts'. By moving to addMockEnvironment,
we generalize it, so that even mock environment
others than views could intercept bubbling events.
This is desirable in order to test the app_switcher,
so that we can intercept bubbling events like
'hide_app_switcher' to web_client.
Since addMockEnvironment already makes use of some
special intercepts ('call_service', 'load_views', ...),
We must handle the remaining intercepts afterwards,
hence at the very end of the definition of addMockEnvironment
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis update renames product form labels to make purchase billing and service tracking options easier to understand. Users will see clearer wording such as “Vendor Bills,” reducing confusion when configuring products.
Original PR description
Description of the issue/feature this PR addresses: set proper name in product form task: https://www.odoo.com/web#id=38863&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720 PAD: https://pad.odoo.com/p/r.47a6511125d1a99bc73f106bb4f70759 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
Resolved issues and error corrections
The checkout now shows the promo code form only where shoppers need it, avoiding duplicate displays during payment and removing it from the cart popover. This creates a clearer, more consistent checkout experience and reduces confusion when applying discount codes.
Original PR description
Before this commit: 1. The promo code form would be displayed in the cart popover (when you mouseover the 'My Cart' menu in the navbar. 2. The promo code form would appear twice at the 'Payment' step at the checkout Now: 1. The promo code form is not displayed in the popover anymore 2. The promo code form will only be shown once at the checkout 'Payment' step 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