summaryrefslogtreecommitdiff
path: root/doc/reference/testing.rst
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2017-11-14 11:47:44 +0100
committerXavier Morel <xmo@odoo.com>2017-12-04 13:11:53 +0100
commit4bf97bdbe28cc3dc3456a272b0acc3741fdf6e1b (patch)
tree22b22bafa3a8c763fb30e984fdbb411968dd8c02 /doc/reference/testing.rst
parent026979c278175de4fa27fba1843b5b9320894d3e (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 'doc/reference/testing.rst')
0 files changed, 0 insertions, 0 deletions