[UPD] README.rst

This commit is contained in:
OCA-git-bot
2020-07-06 09:49:00 +00:00
parent 9f7ed18a23
commit 58e264bdd3
2 changed files with 6 additions and 6 deletions

View File

@@ -62,10 +62,10 @@ of the search panel. Consider
.. code-block:: xml
<searchpanel>
<field name="department_id"/>
<field name="manager_id" select="multi" domain="[('department_id', '=', department_id)]"/>
</searchpanel>
<searchpanel>
<field name="department_id"/>
<field name="manager_id" select="multi" domain="[('department_id', '=', department_id)]"/>
</searchpanel>
In the above example, the range of values for manager_id (manager names) available at screen
will depend on the value currently selected for the field ``department_id``.

View File

@@ -410,8 +410,8 @@ and the following attributes:</p>
of the search panel. Consider</p>
<pre class="code xml literal-block">
<span class="nt">&lt;searchpanel&gt;</span>
<span class="nt">&lt;field</span> <span class="na">name=</span><span class="s">&quot;department_id&quot;</span><span class="nt">/&gt;</span>
<span class="nt">&lt;field</span> <span class="na">name=</span><span class="s">&quot;manager_id&quot;</span> <span class="na">select=</span><span class="s">&quot;multi&quot;</span> <span class="na">domain=</span><span class="s">&quot;[('department_id', '=', department_id)]&quot;</span><span class="nt">/&gt;</span>
<span class="nt">&lt;field</span> <span class="na">name=</span><span class="s">&quot;department_id&quot;</span><span class="nt">/&gt;</span>
<span class="nt">&lt;field</span> <span class="na">name=</span><span class="s">&quot;manager_id&quot;</span> <span class="na">select=</span><span class="s">&quot;multi&quot;</span> <span class="na">domain=</span><span class="s">&quot;[('department_id', '=', department_id)]&quot;</span><span class="nt">/&gt;</span>
<span class="nt">&lt;/searchpanel&gt;</span>
</pre>
<p>In the above example, the range of values for manager_id (manager names) available at screen