You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The partner_duns module is using the deprecated SavepointCase class for tests, which has been merged into TransactionCase in Odoo 16.0. This causes a DeprecationWarning to appear when running tests.
To Reproduce
Affected versions:
Odoo 16.0
Steps to reproduce the behavior:
Run tests in the partner_duns module on Odoo 16.0 using OCA CI.
Observe the following deprecation warning:
DeprecationWarning: Deprecated class SavepointCase has been merged into TransactionCase
Expected behavior
The test should not trigger any deprecation warnings and should use the current TransactionCase class.
Module
partner_duns
Describe the bug
The partner_duns module is using the deprecated SavepointCase class for tests, which has been merged into TransactionCase in Odoo 16.0. This causes a DeprecationWarning to appear when running tests.
To Reproduce
Affected versions:
Odoo 16.0
Steps to reproduce the behavior:
DeprecationWarning: Deprecated class SavepointCase has been merged into TransactionCase
Expected behavior
The test should not trigger any deprecation warnings and should use the current TransactionCase class.
Additional context
partner-contact/partner_duns/tests/test_partner_duns.py
Line 8 in ab50512
The text was updated successfully, but these errors were encountered: