Daily updates from Odoo
Navigate
Branch
Friday, September 13, 2019
8 changes
Enhancements to existing features
This update replaces an outdated internal Python function used to inspect code behavior with its modern supported equivalent. It helps keep the website and core platform compatible with current and future Python versions, reducing maintenance risk without changing day-to-day user workflows.
Original PR description
[PEP-594] is deprecating a bunch of modules/functions, as part of the cleanup related to these modules, we also dealing with other deprecated modules/functions. The `inspect.getargspec` returns information about python functions, that function has been deprecated in python3 and replaced by `inspect.getfullargspec`. The later supports all python3 function signature including keyword-only and annotations. Task: 2003936
The Ponto bank synchronization flow has been refined to make it easier for users to manage and understand their bank connection. This reduces friction during online banking setup and ongoing synchronization, helping accounting teams work more smoothly.
Original PR description
Improve the user experience with Ponto Bank Synchronisation Task: 2065459
Resolved issues and error corrections
This change updates Odoo's automated tests to use current standard assertion names instead of older deprecated aliases. It helps keep the codebase compatible with modern Python testing practices without changing business features or user workflows.
Original PR description
Task: 2003936
This change replaces outdated logging calls with the supported warning method across core Odoo and several add-ons. It helps keep the codebase compatible with current Python standards and reduces future maintenance risk without changing business functionality.
Original PR description
PEP-594 is deprecating a bunch of modules/functions. As part of the cleanup, we are also dealing with long deprecated functions and aliases. `logging.warn` has been a long deprecated alias to `logging.warning`. Task: 2003936
The change replaces an outdated internal logging method with the current supported one. This helps keep the system compatible with newer Python standards and reduces future maintenance risk, without changing user-facing behavior.
Original PR description
PEP-594 is deprecating a bunch of modules/functions. As part of the cleanup, we are also dealing with long deprecated functions and aliases. `logging.warn` has been a long deprecated alias to `logging.warning`. Task: 2003936
Code cleanup and technical improvements
This change replaces outdated internal base64 encoding and decoding calls with their modern equivalents across several Odoo areas. It helps keep the platform compatible with current and future Python versions without changing business workflows or visible features.
Original PR description
PEP-594 is deprecating a bunch of modules/functions, as part of the related cleanup, we also remove long deprecated functions. Unlike the `encodestring` and `decodestring` suggest, those two functions do not support string inputs but only work on bytes-like objects. The two functions got deprecated in python3.1 and got replaced by the `encodebytes` and `decodebytes` functions. Task: 2003936
This change updates how users mark lunch products as favorites, moving the action to Odoo's standard data handling approach. The visible lunch ordering experience should stay the same, while the underlying implementation becomes easier to maintain and test.
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
This update replaces outdated test assertions with their current equivalents across several Odoo Enterprise modules. It helps keep the automated test suite compatible with newer Python standards without changing customer-facing behavior.
Original PR description
Task: 2003936