From a3abec1d4c8d6b7fc1a6fb204cee821658c6162f Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Wed, 7 Feb 2024 17:19:32 +0000 Subject: [PATCH] [BOT] post-merge updates --- README.md | 2 +- base_view_inheritance_extension/README.rst | 12 +++++++++++- base_view_inheritance_extension/__manifest__.py | 2 +- .../static/description/index.html | 11 +++++++++-- 4 files changed, 22 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2a4cadcbc1e..1e95aae6250 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ addon | version | maintainers | summary [base_sparse_field_list_support](base_sparse_field_list_support/) | 16.0.1.0.0 | | add list support to convert_to_cache() [base_technical_user](base_technical_user/) | 16.0.1.0.0 | | Add a technical user parameter on the company [base_time_window](base_time_window/) | 16.0.1.0.0 | | Base model to handle time windows -[base_view_inheritance_extension](base_view_inheritance_extension/) | 16.0.1.1.0 | | Adds more operators for view inheritance +[base_view_inheritance_extension](base_view_inheritance_extension/) | 16.0.1.2.0 | | Adds more operators for view inheritance [cron_daylight_saving_time_resistant](cron_daylight_saving_time_resistant/) | 16.0.1.0.0 | [![florian-dacosta](https://github.com/florian-dacosta.png?size=30px)](https://github.com/florian-dacosta) | Run cron on fixed hours [database_cleanup](database_cleanup/) | 16.0.1.0.1 | | Database cleanup [dbfilter_from_header](dbfilter_from_header/) | 16.0.1.0.1 | | Filter databases with HTTP headers diff --git a/base_view_inheritance_extension/README.rst b/base_view_inheritance_extension/README.rst index bf148650eb5..5e88852ccee 100644 --- a/base_view_inheritance_extension/README.rst +++ b/base_view_inheritance_extension/README.rst @@ -7,7 +7,7 @@ Extended view inheritance !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:56c707d911c93aace4dc1593e4c0f7de5816cdf8883d581a9cfdf7d500b2de66 + !! source digest: sha256:c4e765a621083d8bc3499b930418a7e00123f7228e93615dd74fe42b1b19af26 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png @@ -73,6 +73,15 @@ to refer to some xmlid, say ``%(xmlid)s``. $domain_to_add +**Add domain with AND/OR join operator (AND if missed) for key in attrs** + +.. code-block:: xml + + + $domain_to_add_to_attrs_key + + Known issues / Roadmap ====================== @@ -107,6 +116,7 @@ Contributors * Carlos Dauden * Iván Todorovich +* Carlos Serra-Toro Maintainers ~~~~~~~~~~~ diff --git a/base_view_inheritance_extension/__manifest__.py b/base_view_inheritance_extension/__manifest__.py index 8c6dc69f923..13cfef8e1bf 100644 --- a/base_view_inheritance_extension/__manifest__.py +++ b/base_view_inheritance_extension/__manifest__.py @@ -3,7 +3,7 @@ # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). { "name": "Extended view inheritance", - "version": "16.0.1.1.0", + "version": "16.0.1.2.0", "development_status": "Mature", "author": "Therp BV,Odoo Community Association (OCA)", "license": "LGPL-3", diff --git a/base_view_inheritance_extension/static/description/index.html b/base_view_inheritance_extension/static/description/index.html index e2e840975c2..c871d7f1095 100644 --- a/base_view_inheritance_extension/static/description/index.html +++ b/base_view_inheritance_extension/static/description/index.html @@ -1,4 +1,3 @@ - @@ -367,7 +366,7 @@

Extended view inheritance

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:56c707d911c93aace4dc1593e4c0f7de5816cdf8883d581a9cfdf7d500b2de66 +!! source digest: sha256:c4e765a621083d8bc3499b930418a7e00123f7228e93615dd74fe42b1b19af26 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Mature License: LGPL-3 OCA/server-tools Translate me on Weblate Try me on Runboat

This module was written to make it simple to add custom operators for view @@ -413,6 +412,13 @@

Usage

$domain_to_add </attribute> +

Add domain with AND/OR join operator (AND if missed) for key in attrs

+
+<attribute name="$attribute" operation="attrs_domain_add"
+           key="$attrs_key" join_operator="OR">
+    $domain_to_add_to_attrs_key
+</attribute>
+

Known issues / Roadmap

@@ -447,6 +453,7 @@

Contributors

  • Iván Todorovich <ivan.todorovich@camptocamp.com>
  • +
  • Carlos Serra-Toro <carlos.serra@braintec.com>