diff --git a/doc/models.rst b/doc/models.rst index d53f7713ea..5149515694 100644 --- a/doc/models.rst +++ b/doc/models.rst @@ -226,13 +226,14 @@ How to define selections ++++++++++++++++++++++++ A selection field allow the user to choose one value across a limited -number of values. There are two way to define a field that will be +number of values. There are two ways to define a field that will be shown as a selection to the user: 1. Using the fields.Selection() - 2. Using a fields.One2Many() and define it in the xml view of the - module as ``widget="Selection"``, see :ref:`example_form_view`. + 2. Using a fields.Many2One() (with a static domain) and define it in + the xml view of the module as ``widget="Selection"``, see + :ref:`example_form_view`. Let's take the following model as an example of the first option: