[UPD] README.rst
parent
f915726fa7
commit
761b9d56b7
|
@ -50,30 +50,21 @@ to refer to some xmlid, say ``%(xmlid)s``.
|
|||
|
||||
**Add to values in a list (states for example)**
|
||||
|
||||
.. code-block:: xml
|
||||
|
||||
<attribute name="$attribute" operation="list_add">
|
||||
$new_value(s)
|
||||
</attribute>
|
||||
Deprecated. This feature is now native, use `<attribute name="attrname" separator="," add="something" />`.
|
||||
|
||||
**Remove values from a list (states for example)**
|
||||
|
||||
.. code-block:: xml
|
||||
|
||||
<attribute name="$attribute" operation="list_remove">
|
||||
$remove_value(s)
|
||||
</attribute>
|
||||
Deprecated. This feature is now native, use `<attribute name="attrname" separator="," remove="something" />`.
|
||||
|
||||
**Move an element in the view**
|
||||
|
||||
This feature is now native, cf the `official Odoo documentation <https://www.odoo.com/documentation/14.0/reference/views.html#inheritance-specs>`_.
|
||||
This feature is now native, cf the `official Odoo documentation <https://www.odoo.com/documentation/14.0/developer/reference/addons/views.html#inheritance-specs>`_.
|
||||
|
||||
Known issues / Roadmap
|
||||
======================
|
||||
|
||||
* add ``<attribute operation="json_dict" key="$key">$value</attribute>``
|
||||
* support ``<xpath expr="$xpath" position="move" target="xpath" target_position="position" />``
|
||||
* support an ``eval`` attribute for our new node types
|
||||
* On `15.0`, remove `list_add` and `list_remove` fetures.
|
||||
* Support an ``eval`` attribute for our new node types.
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
@ -99,6 +90,7 @@ Contributors
|
|||
* Holger Brunn <hbrunn@therp.nl>
|
||||
* Ronald Portier <rportier@therp.nl>
|
||||
* Sergio Teruel <sergio.teruel@tecnativa.com>
|
||||
* Iván Todorovich <ivan.todorovich@camptocamp.com>
|
||||
|
||||
Maintainers
|
||||
~~~~~~~~~~~
|
||||
|
|
|
@ -395,26 +395,17 @@ inheritance.</p>
|
|||
<p>Note that views are subject to evaluation of xmlids anyways, so if you need
|
||||
to refer to some xmlid, say <tt class="docutils literal">%(xmlid)s</tt>.</p>
|
||||
<p><strong>Add to values in a list (states for example)</strong></p>
|
||||
<pre class="code xml literal-block">
|
||||
<span class="nt"><attribute</span> <span class="na">name=</span><span class="s">"$attribute"</span> <span class="na">operation=</span><span class="s">"list_add"</span><span class="nt">></span>
|
||||
$new_value(s)
|
||||
<span class="nt"></attribute></span>
|
||||
</pre>
|
||||
<p>Deprecated. This feature is now native, use <cite><attribute name=”attrname” separator=”,” add=”something” /></cite>.</p>
|
||||
<p><strong>Remove values from a list (states for example)</strong></p>
|
||||
<pre class="code xml literal-block">
|
||||
<span class="nt"><attribute</span> <span class="na">name=</span><span class="s">"$attribute"</span> <span class="na">operation=</span><span class="s">"list_remove"</span><span class="nt">></span>
|
||||
$remove_value(s)
|
||||
<span class="nt"></attribute></span>
|
||||
</pre>
|
||||
<p>Deprecated. This feature is now native, use <cite><attribute name=”attrname” separator=”,” remove=”something” /></cite>.</p>
|
||||
<p><strong>Move an element in the view</strong></p>
|
||||
<p>This feature is now native, cf the <a class="reference external" href="https://www.odoo.com/documentation/14.0/reference/views.html#inheritance-specs">official Odoo documentation</a>.</p>
|
||||
<p>This feature is now native, cf the <a class="reference external" href="https://www.odoo.com/documentation/14.0/developer/reference/addons/views.html#inheritance-specs">official Odoo documentation</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="known-issues-roadmap">
|
||||
<h1><a class="toc-backref" href="#id2">Known issues / Roadmap</a></h1>
|
||||
<ul class="simple">
|
||||
<li>add <tt class="docutils literal"><attribute <span class="pre">operation="json_dict"</span> <span class="pre">key="$key">$value</attribute></span></tt></li>
|
||||
<li>support <tt class="docutils literal"><xpath <span class="pre">expr="$xpath"</span> <span class="pre">position="move"</span> <span class="pre">target="xpath"</span> <span class="pre">target_position="position"</span> /></tt></li>
|
||||
<li>support an <tt class="docutils literal">eval</tt> attribute for our new node types</li>
|
||||
<li>On <cite>15.0</cite>, remove <cite>list_add</cite> and <cite>list_remove</cite> fetures.</li>
|
||||
<li>Support an <tt class="docutils literal">eval</tt> attribute for our new node types.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="bug-tracker">
|
||||
|
@ -439,6 +430,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
|
|||
<li>Holger Brunn <<a class="reference external" href="mailto:hbrunn@therp.nl">hbrunn@therp.nl</a>></li>
|
||||
<li>Ronald Portier <<a class="reference external" href="mailto:rportier@therp.nl">rportier@therp.nl</a>></li>
|
||||
<li>Sergio Teruel <<a class="reference external" href="mailto:sergio.teruel@tecnativa.com">sergio.teruel@tecnativa.com</a>></li>
|
||||
<li>Iván Todorovich <<a class="reference external" href="mailto:ivan.todorovich@camptocamp.com">ivan.todorovich@camptocamp.com</a>></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="maintainers">
|
||||
|
|
Loading…
Reference in New Issue