[FIX] developer: wrong import path for Form module in tests

Since f5e7c67892, Form is in odoo.tests and not in odoo.tests.common anymore

task-none

closes odoo/documentation#14198

X-original-commit: 08f66ab000
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Thomas Becquevort (thbe) <thbe@odoo.com>
This commit is contained in:
Thomas Becquevort (thbe)
2025-07-31 12:15:23 +00:00
parent 689647871a
commit c6067edebd

View File

@@ -213,7 +213,7 @@ Here are a few things to take into consideration before writing a test
.. note:: Remember that ``onchange`` only applies in the Form views, not by changing the attributes
in python. This also applies in the tests. If you want to emulate a Form view, you can use
``odoo.tests.common.Form``.
``odoo.tests.Form``.
The tests should be in a ``tests`` folder at the root of your module. Each test file name
should start with `test_` and be imported in the ``__init__.py`` of the test folder. You shouldn't