Skip to content

Commit

Permalink
[BOT] post-merge updates
Browse files Browse the repository at this point in the history
  • Loading branch information
OCA-git-bot committed Dec 20, 2024
1 parent 464bb1a commit e98568f
Show file tree
Hide file tree
Showing 7 changed files with 74 additions and 74 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion web_pivot_computed_measure/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion web_pivot_computed_measure/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion web_pivot_computed_measure/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h1 class="title">Web Pivot Computed Measure</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:5b39f6b5f029b78cd1c9905a891b308ef82f93df14f8ccb659c4e0577b1bb2e0
!! source digest: sha256:ef1d9798000e33915ec220f529705bc7f263e563bacca0755f7dfbc2cfdf3639
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web/tree/18.0/web_pivot_computed_measure"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_pivot_computed_measure"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/web&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>Adds support for computed measures on the pivot view.</p>
Expand Down
130 changes: 65 additions & 65 deletions web_tree_dynamic_colored_field/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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**

Expand All @@ -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:

::
::

...
<field name="arch" type="xml">
<tree string="View name">
...
<field name="name" options='{"bg_color": "red: customer == True"}'/>
...
</tree>
</field>
...
...
<field name="arch" type="xml">
<tree string="View name">
...
<field name="name" options='{"bg_color": "red: customer == True"}'/>
...
</tree>
</field>
...

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:

::
::

...
<field name="arch" type="xml">
<tree string="View name">
...
<field name="name" options='{"fg_color": "white:customer == True"}'/>
...
</tree>
</field>
...
...
<field name="arch" type="xml">
<tree string="View name">
...
<field name="name" options='{"fg_color": "white:customer == True"}'/>
...
</tree>
</field>
...

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 ';':

::

Expand All @@ -104,21 +104,21 @@ Example:
</field>
...
- 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:

::
::

...
<field name="arch" type="xml">
<tree string="View name">
...
<field name="name" options="{'fg_color': 'green:customer_state == \'success\''}"/>
...
</tree>
</field>
...
...
<field name="arch" type="xml">
<tree string="View name">
...
<field name="name" options="{'fg_color': 'green:customer_state == \'success\''}"/>
...
</tree>
</field>
...

**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
Expand All @@ -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 ``<tree>`` 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 ``<tree>`` 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
===========
Expand All @@ -158,21 +158,21 @@ Authors
Contributors
------------

- Damien Crier <[email protected]>
- Holger Brunn <[email protected]>
- Artem Kostyuk <[email protected]>
- Guewen Baconnier <[email protected]>
- Phuc Tran Thanh <[email protected]>
- Sylvain LE GAL <https://twitter.com/legalsylvain>
- Jurgis Pralgauskis <[email protected]>
- Damien Crier <[email protected]>
- Holger Brunn <[email protected]>
- Artem Kostyuk <[email protected]>
- Guewen Baconnier <[email protected]>
- Phuc Tran Thanh <[email protected]>
- Sylvain LE GAL <https://twitter.com/legalsylvain>
- Jurgis Pralgauskis <[email protected]>

Other credits
-------------

The development of this module has been financially supported by:

- Camptocamp
- Versada
- Camptocamp
- Versada

Maintainers
-----------
Expand Down
2 changes: 1 addition & 1 deletion web_tree_dynamic_colored_field/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions web_tree_dynamic_colored_field/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h1 class="title">Colorize field in tree views</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:f6356258dae95cac6cf463ac8565680182dc73987f8d9f528ffab3567773e0bc
!! source digest: sha256:9421f600f808456315bd58fa3ad58e5d8790f99fb1f0809e81ce7bb0ef0774b1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web/tree/18.0/web_tree_dynamic_colored_field"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_tree_dynamic_colored_field"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/web&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module aims to add support for dynamically coloring fields in tree
Expand All @@ -377,8 +377,8 @@ <h1>Features</h1>
<ul class="simple">
<li>Add attribute <tt class="docutils literal">bg_color</tt> on field’s <tt class="docutils literal">options</tt> to color background
of a cell in tree view</li>
<li>Add attribute <tt class="docutils literal">fg_color</tt> on field’s <tt class="docutils literal">options</tt> to change text
color of a cell in tree view</li>
<li>Add attribute <tt class="docutils literal">fg_color</tt> on field’s <tt class="docutils literal">options</tt> to change text color
of a cell in tree view</li>
</ul>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
Expand Down

0 comments on commit e98568f

Please sign in to comment.