upgrade-test-classes (U2030)#

SingleTransactionCase or odoo.tests.common.Form, removed in Odoo 20.0.

Applies to Odoo 20.0 and later.

What it does#

Reports SingleTransactionCase and Form imported from odoo.tests.common.

Why is this bad?#

Odoo 20.0 removed SingleTransactionCase (use TransactionCase, with setUpClass for shared data) and no longer exports Form from odoo.tests.common.

Fix safety#

Safe for Form: it is imported from odoo.tests.