Daily updates from Odoo
Friday, September 13, 2019
3 changes
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