[UPD] base_view_inheritance_extension: readme - deprecate list_add and list_remove

pull/2494/head
Ivàn Todorovich 2021-11-29 14:31:56 -03:00 committed by Enric Tobella
parent 8e2e89bef6
commit f915726fa7
2 changed files with 5 additions and 14 deletions

View File

@ -1,3 +1,2 @@
* 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.

View File

@ -12,20 +12,12 @@ 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>`_.