From d65f46851da414d2d29b52d5cc41a0cfed610a94 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Thu, 17 Feb 2022 19:44:22 +0000 Subject: [PATCH] [UPD] README.rst --- base_view_inheritance_extension/README.rst | 34 +++++++------------ .../static/description/index.html | 23 ++++++------- 2 files changed, 23 insertions(+), 34 deletions(-) diff --git a/base_view_inheritance_extension/README.rst b/base_view_inheritance_extension/README.rst index 063de0996..978370cc5 100644 --- a/base_view_inheritance_extension/README.rst +++ b/base_view_inheritance_extension/README.rst @@ -14,13 +14,13 @@ Extended view inheritance :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html :alt: License: LGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github - :target: https://github.com/OCA/server-tools/tree/14.0/base_view_inheritance_extension + :target: https://github.com/OCA/server-tools/tree/15.0/base_view_inheritance_extension :alt: OCA/server-tools .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-base_view_inheritance_extension + :target: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-base_view_inheritance_extension :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/149/14.0 + :target: https://runbot.odoo-community.org/runbot/149/15.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -41,29 +41,21 @@ Usage .. code-block:: xml - - $new_value - + + + { + "key": "value", + } + + + Note that views are subject to evaluation of xmlids anyways, so if you need to refer to some xmlid, say ``%(xmlid)s``. -**Add to values in a list (states for example)** - -Deprecated. This feature is now native, use ``. - -**Remove values from a list (states for example)** - -Deprecated. This feature is now native, use ``. - -**Move an element in the view** - -This feature is now native, cf the `official Odoo documentation `_. - Known issues / Roadmap ====================== -* On `15.0`, remove `list_add` and `list_remove` fetures. * Support an ``eval`` attribute for our new node types. Bug Tracker @@ -72,7 +64,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -105,6 +97,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/server-tools `_ project on GitHub. +This module is part of the `OCA/server-tools `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/base_view_inheritance_extension/static/description/index.html b/base_view_inheritance_extension/static/description/index.html index ef4362660..e2f165de8 100644 --- a/base_view_inheritance_extension/static/description/index.html +++ b/base_view_inheritance_extension/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: LGPL-3 OCA/server-tools Translate me on Weblate Try me on Runbot

+

Beta License: LGPL-3 OCA/server-tools Translate me on Weblate Try me on Runbot

This module was written to make it simple to add custom operators for view inheritance.

Table of contents

@@ -388,23 +388,20 @@ inheritance.

Usage

Change a python dictionary (context for example)

-<attribute name="$attribute" operation="python_dict" key="$key">
-    $new_value
-</attribute>
+<field position="attributes">
+    <attribute name="context" operation="update">
+        {
+            "key": "value",
+        }
+    </attribute>
+</field>
 

Note that views are subject to evaluation of xmlids anyways, so if you need to refer to some xmlid, say %(xmlid)s.

-

Add to values in a list (states for example)

-

Deprecated. This feature is now native, use <attribute name=”attrname” separator=”,” add=”something” />.

-

Remove values from a list (states for example)

-

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.

Known issues / Roadmap

    -
  • On 15.0, remove list_add and list_remove fetures.
  • Support an eval attribute for our new node types.
@@ -413,7 +410,7 @@ to refer to some xmlid, say %(xmlid)s.

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -feedback.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -440,7 +437,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

-

This module is part of the OCA/server-tools project on GitHub.

+

This module is part of the OCA/server-tools project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.