diff options
| author | Xavier Morel <xmo@odoo.com> | 2017-11-14 11:47:44 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2017-12-04 13:11:53 +0100 |
| commit | 4bf97bdbe28cc3dc3456a272b0acc3741fdf6e1b (patch) | |
| tree | 22b22bafa3a8c763fb30e984fdbb411968dd8c02 /odoo/addons/test_testing_utilities/__init__.py | |
| parent | 026979c278175de4fa27fba1843b5b9320894d3e (diff) | |
[ADD] base: server-side formview
Useful to better test business flows & replace yaml test files:
instantiating records & calling onchanges by hand is very
error-prone (it's easy to miss onchanges, or to manually set fields
which can't be set through the view we're interested in, ...)
odoo.tests.common.Form implements the basic *creation*
flow (fields_get, default_get, onchange) up to saving the record,
including proper handling of the required and readonly modifiers &
their domains.
* edition of existing records, including filtering out unmodified
fields when saving
* possibly buttons
* ensuring the API is convenient
Diffstat (limited to 'odoo/addons/test_testing_utilities/__init__.py')
| -rw-r--r-- | odoo/addons/test_testing_utilities/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/odoo/addons/test_testing_utilities/__init__.py b/odoo/addons/test_testing_utilities/__init__.py new file mode 100644 index 00000000000..a0fdc10fe11 --- /dev/null +++ b/odoo/addons/test_testing_utilities/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- +from . import models |
