summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSarah Van Bogaert <svb@odoo.com>2019-03-27 13:14:56 +0000
committerSarah Van Bogaert <svb@odoo.com>2019-03-27 13:32:53 +0000
commitce4713cd0e790a88daefd727b5e4ebad4df0e2f0 (patch)
treebc62491019e4d6eff03c85f7bd4078666c6d6254 /doc
parent6b4758cd9a0af2f03fb8817f4821b2077d17cec1 (diff)
[IMP] web: allow multiple fields in form views
This feature was already working in the actual version of Odoo but it is now tested. The following features are supported: - When the value of one widget is modified, the other ones change accordingly - The modifiers 'invisible' and 'readonly' are applied correctly if they differ between widgets. However, the modifiers 'required' must be equal for the several fields, otherwise the behavior is not guaranteed. closes odoo/odoo#32158 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/views.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst
index 7e22a3b4834..17a7c5911e7 100644
--- a/doc/reference/views.rst
+++ b/doc/reference/views.rst
@@ -469,7 +469,10 @@ system. Available semantic components are:
``field``
renders (and allow edition of, possibly) a single field of the current
- record. Possible attributes are:
+ record. Using several times a field in a form view is supported and the fields
+ can receive different values for modifiers 'invisible' and 'readonly'. However,
+ the behavior is not guaranteed when several fields exist with different values
+ for modifier 'required'. Possible attributes of the field node are:
``name`` (mandatory)
the name of the field to render