Daily updates from Odoo
Tuesday, September 17, 2019
6 changes · master
New functionality added to Odoo
Website builders can now set videos as snippet backgrounds wherever background images were already supported. The background option is renamed from “Background Image” to “Background” to reflect that it supports both images and videos, making page design more flexible and engaging.
Original PR description
This PR adds support to set background videos to all the snippets that already support setting background images. We've utilized the media dialog snippet for the same. Also, the snippet option 'Background Image' is renamed to 'Background' because this option will now allow setting both background image and video.
Enhancements to existing features
Mobile users can now search, filter, and group results from the same screen more quickly. Applied filters are highlighted, making it easier to see when a list has been narrowed down and adjust results on the go.
Original PR description
[IMP] web: SearchView: Allow the user to quickly search on the same screen … - Added Filter icon so the user can select filters and group by - When filter applied, filter colour will be primary [IMP] web: Search view test: Test updated for mobile control panel search
This update adjusts the mobile control panel search test to better cover quick search behavior. It helps ensure the search experience remains reliable for users on mobile devices, with no direct change to day-to-day workflows.
Original PR description
Updated Mobile Control panel search view test case
Resolved issues and error corrections
This update replaces outdated internal Python functions with their current supported versions across several Odoo apps. It helps keep the platform compatible with newer Python releases and reduces future maintenance risk, with no expected change to day-to-day user behavior.
Original PR description
PEP-594 is deprecating a bunch of modules. As part of the cleanup, we are also dealing with long deprecated modules, functions and aliases. * `assert_` -> `assertTrue` * `assertEquals` -> `assertEqual` * `assertNotEquals` -> `assertNotEqual` * `assertAlmostEquals` -> `assertAlmostEqual` * `assertRaisesRegexp` -> `assertRaisesRegex` * `assertRegexpMatches` -> `assertRegex` * `base64.encodestring` -> `base64.encodebytes` * `base64.decodestring` -> `base64.decodebytes` * `inspect.getargspec` -> `inspect.getfullargspec` * `inspect.formatargspec` -> `inspect.signature` * `logging.warn` -> `logging.warning` Task: 2003936
Code cleanup and technical improvements
This update replaces outdated internal Python functions with their modern equivalents across accounting, delivery, documents, payroll, localization, and inter-company features. It helps keep the system compatible with newer Python versions without changing day-to-day user workflows.
Original PR description
PEP-594 is deprecating a bunch of modules. As part of the cleanup, we are also dealing with long deprecated modules, functions and aliases. * `assert_` -> `assertTrue` * `assertEquals` -> `assertEqual` * `assertNotEquals` -> `assertNotEqual` * `assertAlmostEquals` -> `assertAlmostEqual` * `assertRaisesRegexp` -> `assertRaisesRegex` * `assertRegexpMatches` -> `assertRegex` * `base64.encodestring` -> `base64.encodebytes` * `base64.decodestring` -> `base64.decodebytes` * `inspect.getargspec` -> `inspect.getfullargspec` * `inspect.formatargspec` -> `inspect.signature` * `logging.warn` -> `logging.warning` Task: 2003936
Documentation and clarification updates
This pull request records that contributor Bikibi has signed Odoo's Contributor License Agreement. This is an administrative legal update that helps confirm contribution rights and does not affect product functionality.
Original PR description
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