Search 1.9 billion lines of Odoo code on GitHub

web_tree_dynamic_colored_line

Author: Odoo Community Association (OCA), Florent de Labarre
License: AGPL-3
Branch: 11.0-web_tree_color
Repository: fmdl/web
Dependencies: web
Languages: JavaScript (33, 31.4%), Python (13, 12.4%), XML (22, 21.0%), and reStructuredText (37, 35.2%)

<a class="reference external image-reference" href="https://www.gnu.org/licenses/agpl"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a name="colorize-line-in-tree-views"></a> <h2>Colorize line in tree views</h2> <p>This module extends the functionality of decorator-xx, in tree view. In Odoo V11, the attribute colors is not supported.</p> <a name="usage"></a> <h3>Usage</h3> <a name="exemple"></a> <h4>Exemple</h4> <blockquote> <dl class="docutils"> <dt>&lt;tree string=&quot;Stock Move&quot; colors=&quot;blue:tetris == 'blue';red:tetris == 'red'&quot;&gt;</dt> <dd>&lt;field name=&quot;tetris&quot;/&gt;</dd> </dl> <p>&lt;/tree&gt;</p> </blockquote> <a name="color-codage"></a> <h4>Color codage</h4> <ul class="simple"> <li>css standard name: red</li> <li>hexadecidmal: #CF403E</li> </ul> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/web/162/11.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smash it by providing detailed and welcomed feedback.</p> <a name="credits"></a> <h3>Credits</h3> <a name="images"></a> <h4>Images</h4> <ul class="simple"> <li>Odoo Community Association: <a class="reference external" href="https://odoo-community.org/logo.png">Icon</a>.</li> </ul> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Florent de Labarre &lt;<a class="reference external" href="mailto:florent.mirieu&#64;gmail.com">florent.mirieu&#64;gmail.com</a>&gt;</li> </ul> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="maintainer"></a> <h4>Maintainer</h4> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>This module is maintained by the OCA.</p> <p>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.</p> <p>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>