mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[BOT] post-merge updates
This commit is contained in:
@@ -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 | [](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 | [](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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -367,7 +367,7 @@ ul.auto-toc {
|
||||
!! 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&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>
|
||||
|
||||
@@ -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:
|
||||
|
||||
::
|
||||
::
|
||||
|
||||
...
|
||||
<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 ';':
|
||||
|
||||
::
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
===========
|
||||
@@ -158,21 +158,21 @@ Authors
|
||||
Contributors
|
||||
------------
|
||||
|
||||
- Damien Crier <damien.crier@camptocamp.com>
|
||||
- Holger Brunn <hbrunn@therp.nl>
|
||||
- Artem Kostyuk <a.kostyuk@mobilunity.com>
|
||||
- Guewen Baconnier <guewen.baconnier@camptocamp.com>
|
||||
- Phuc Tran Thanh <phuc@trobz.com>
|
||||
- Sylvain LE GAL <https://twitter.com/legalsylvain>
|
||||
- Jurgis Pralgauskis <jurgis@versada.eu>
|
||||
- Damien Crier <damien.crier@camptocamp.com>
|
||||
- Holger Brunn <hbrunn@therp.nl>
|
||||
- Artem Kostyuk <a.kostyuk@mobilunity.com>
|
||||
- Guewen Baconnier <guewen.baconnier@camptocamp.com>
|
||||
- Phuc Tran Thanh <phuc@trobz.com>
|
||||
- Sylvain LE GAL <https://twitter.com/legalsylvain>
|
||||
- Jurgis Pralgauskis <jurgis@versada.eu>
|
||||
|
||||
Other credits
|
||||
-------------
|
||||
|
||||
The development of this module has been financially supported by:
|
||||
|
||||
- Camptocamp
|
||||
- Versada
|
||||
- Camptocamp
|
||||
- Versada
|
||||
|
||||
Maintainers
|
||||
-----------
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -367,7 +367,7 @@ ul.auto-toc {
|
||||
!! 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&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
|
||||
@@ -377,8 +377,8 @@ view according to data in the record.</p>
|
||||
<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">
|
||||
|
||||
Reference in New Issue
Block a user