Daily updates from Odoo
Tuesday, October 31, 2017
2 changes · master
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