From e98568f859b79286685fb3143e16ebeabd78557d Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Fri, 20 Dec 2024 09:51:01 +0000 Subject: [PATCH] [BOT] post-merge updates --- README.md | 4 +- web_pivot_computed_measure/README.rst | 2 +- web_pivot_computed_measure/__manifest__.py | 2 +- .../static/description/index.html | 2 +- web_tree_dynamic_colored_field/README.rst | 130 +++++++++--------- .../__manifest__.py | 2 +- .../static/description/index.html | 6 +- 7 files changed, 74 insertions(+), 74 deletions(-) diff --git a/README.md b/README.md index 4b3f027eae85..c1156443063e 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,8 @@ addon | version | maintainers | summary --- | --- | --- | --- [web_environment_ribbon](web_environment_ribbon/) | 18.0.1.0.1 | | Web Environment Ribbon [web_notify](web_notify/) | 18.0.1.0.1 | | Send notification messages to user -[web_pivot_computed_measure](web_pivot_computed_measure/) | 18.0.1.0.0 | [![CarlosRoca13](https://github.com/CarlosRoca13.png?size=30px)](https://github.com/CarlosRoca13) | Web Pivot Computed Measure -[web_tree_dynamic_colored_field](web_tree_dynamic_colored_field/) | 18.0.1.0.0 | | Allows you to dynamically color fields on tree views +[web_pivot_computed_measure](web_pivot_computed_measure/) | 18.0.1.0.1 | [![CarlosRoca13](https://github.com/CarlosRoca13.png?size=30px)](https://github.com/CarlosRoca13) | Web Pivot Computed Measure +[web_tree_dynamic_colored_field](web_tree_dynamic_colored_field/) | 18.0.1.0.1 | | Allows you to dynamically color fields on tree views [//]: # (end addons) diff --git a/web_pivot_computed_measure/README.rst b/web_pivot_computed_measure/README.rst index dc323b734e6a..5f895abf97cc 100644 --- a/web_pivot_computed_measure/README.rst +++ b/web_pivot_computed_measure/README.rst @@ -7,7 +7,7 @@ Web Pivot Computed Measure !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:5b39f6b5f029b78cd1c9905a891b308ef82f93df14f8ccb659c4e0577b1bb2e0 + !! source digest: sha256:ef1d9798000e33915ec220f529705bc7f263e563bacca0755f7dfbc2cfdf3639 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png diff --git a/web_pivot_computed_measure/__manifest__.py b/web_pivot_computed_measure/__manifest__.py index 6ff8fb5ea7b7..42a177a258fe 100644 --- a/web_pivot_computed_measure/__manifest__.py +++ b/web_pivot_computed_measure/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Web Pivot Computed Measure", "category": "web", - "version": "18.0.1.0.0", + "version": "18.0.1.0.1", "author": "Tecnativa, Odoo Community Association (OCA)", "license": "AGPL-3", "website": "https://github.com/OCA/web", diff --git a/web_pivot_computed_measure/static/description/index.html b/web_pivot_computed_measure/static/description/index.html index 8e60675390b2..203a83951fd0 100644 --- a/web_pivot_computed_measure/static/description/index.html +++ b/web_pivot_computed_measure/static/description/index.html @@ -367,7 +367,7 @@

Web Pivot Computed Measure

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:5b39f6b5f029b78cd1c9905a891b308ef82f93df14f8ccb659c4e0577b1bb2e0 +!! source digest: sha256:ef1d9798000e33915ec220f529705bc7f263e563bacca0755f7dfbc2cfdf3639 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/web Translate me on Weblate Try me on Runboat

Adds support for computed measures on the pivot view.

diff --git a/web_tree_dynamic_colored_field/README.rst b/web_tree_dynamic_colored_field/README.rst index f67e184b2993..13c1e46e9200 100644 --- a/web_tree_dynamic_colored_field/README.rst +++ b/web_tree_dynamic_colored_field/README.rst @@ -7,7 +7,7 @@ Colorize field in tree views !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:f6356258dae95cac6cf463ac8565680182dc73987f8d9f528ffab3567773e0bc + !! source digest: sha256:9421f600f808456315bd58fa3ad58e5d8790f99fb1f0809e81ce7bb0ef0774b1 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png @@ -34,10 +34,10 @@ view according to data in the record. Features -------- -- Add attribute ``bg_color`` on field's ``options`` to color background - of a cell in tree view -- Add attribute ``fg_color`` on field's ``options`` to change text - color of a cell in tree view +- Add attribute ``bg_color`` on field's ``options`` to color background + of a cell in tree view +- Add attribute ``fg_color`` on field's ``options`` to change text color + of a cell in tree view **Table of contents** @@ -47,44 +47,44 @@ Features Usage ===== -- In the tree view declaration, put - ``options='{"bg_color": "red: customer==True"}`` attribute in the - ``field`` tag: +- In the tree view declaration, put + ``options='{"bg_color": "red: customer==True"}`` attribute in the + ``field`` tag: - :: + :: - ... - - - ... - - ... - - - ... + ... + + + ... + + ... + + + ... - With this example, column which renders 'name' field will have its **background** colored in red on customer records. + With this example, column which renders 'name' field will have its **background** colored in red on customer records. -- In the tree view declaration, put - ``options='{"fg_color": "white:customer == True"}'`` attribute in the - ``field`` tag: +- In the tree view declaration, put + ``options='{"fg_color": "white:customer == True"}'`` attribute in the + ``field`` tag: - :: + :: - ... - - - ... - - ... - - - ... + ... + + + ... + + ... + + + ... - With this example, column which renders 'name' field will have its **text** colored in white on customer records. + With this example, column which renders 'name' field will have its **text** colored in white on customer records. -- If you want to use more than one color, you can split the attributes - using ';': +- If you want to use more than one color, you can split the attributes + using ';': :: @@ -104,21 +104,21 @@ Example: ... -- Can use strings too... In the tree view declaration, put - ``options="{'fg_color': 'green:customer_state == \'success\''}"`` - attribute in the ``field`` tag: +- Can use strings too... In the tree view declaration, put + ``options="{'fg_color': 'green:customer_state == \'success\''}"`` + attribute in the ``field`` tag: - :: + :: - ... - - - ... - - ... - - - ... + ... + + + ... + + ... + + + ... **Note that you can use single or normal quotes. If the declaration of the options doesn't follow the JSON format, the options string will be @@ -127,14 +127,14 @@ evaluated using py.eval()** Known issues / Roadmap ====================== -- Before version 13.0, this module had a feature allowing to change the - color of a line depending on a field, using a ``colors`` attribute - with the name of the field on the ```` element. Since 13.0, the - ``colors`` attribute is no longer in the RelaxNG schema of the tree - view, so we can't use it anymore. This feature has then been dropped, - but could be reimplement in another way. -- Since version 17.0 coloring is written into ``style`` attribute of - (td) element +- Before version 13.0, this module had a feature allowing to change the + color of a line depending on a field, using a ``colors`` attribute + with the name of the field on the ```` element. Since 13.0, the + ``colors`` attribute is no longer in the RelaxNG schema of the tree + view, so we can't use it anymore. This feature has then been dropped, + but could be reimplement in another way. +- Since version 17.0 coloring is written into ``style`` attribute of + (td) element Bug Tracker =========== @@ -158,21 +158,21 @@ Authors Contributors ------------ -- Damien Crier -- Holger Brunn -- Artem Kostyuk -- Guewen Baconnier -- Phuc Tran Thanh -- Sylvain LE GAL -- Jurgis Pralgauskis +- Damien Crier +- Holger Brunn +- Artem Kostyuk +- Guewen Baconnier +- Phuc Tran Thanh +- Sylvain LE GAL +- Jurgis Pralgauskis Other credits ------------- The development of this module has been financially supported by: -- Camptocamp -- Versada +- Camptocamp +- Versada Maintainers ----------- diff --git a/web_tree_dynamic_colored_field/__manifest__.py b/web_tree_dynamic_colored_field/__manifest__.py index 7ba8e19c1b46..8e798bd0f1b9 100644 --- a/web_tree_dynamic_colored_field/__manifest__.py +++ b/web_tree_dynamic_colored_field/__manifest__.py @@ -4,7 +4,7 @@ "name": "Colorize field in tree views", "summary": "Allows you to dynamically color fields on tree views", "category": "Hidden/Dependency", - "version": "18.0.1.0.0", + "version": "18.0.1.0.1", "depends": ["web"], "author": "Camptocamp, Therp BV, Odoo Community Association (OCA)", "license": "AGPL-3", diff --git a/web_tree_dynamic_colored_field/static/description/index.html b/web_tree_dynamic_colored_field/static/description/index.html index f903b916b474..946fa0bb26d9 100644 --- a/web_tree_dynamic_colored_field/static/description/index.html +++ b/web_tree_dynamic_colored_field/static/description/index.html @@ -367,7 +367,7 @@

Colorize field in tree views

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:f6356258dae95cac6cf463ac8565680182dc73987f8d9f528ffab3567773e0bc +!! source digest: sha256:9421f600f808456315bd58fa3ad58e5d8790f99fb1f0809e81ce7bb0ef0774b1 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/web Translate me on Weblate Try me on Runboat

This module aims to add support for dynamically coloring fields in tree @@ -377,8 +377,8 @@

Features

  • Add attribute bg_color on field’s options to color background of a cell in tree view
  • -
  • Add attribute fg_color on field’s options to change text -color of a cell in tree view
  • +
  • Add attribute fg_color on field’s options to change text color +of a cell in tree view

Table of contents