{
"info": {
"author": "Camptocamp, Therp BV, Odoo Community Association (OCA)",
"author_email": "support@odoo-community.org",
"bugtrack_url": null,
"classifiers": [
"Framework :: Odoo",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Programming Language :: Python"
],
"description": ".. image:: https://img.shields.io/badge/license-LGPL--3-blue.svg\n :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html\n :alt: License: LGPL-3\n\n============================\nColorize field in tree views\n============================\n\nThis module aims to add support for dynamically coloring fields in tree view\naccording to data in the record.\n\nIt provides attributes on fields with the similar syntax as the ``colors`` attribute\nin tree tags.\n\nFurther, it provides a ``color_field`` attribute on tree tags's ``colors`` to use\na field's value as color.\n\nFeatures\n========\n\n* Add attribute ``bg_color`` on field's ``options`` to color background of a cell in tree view\n* Add attribute ``fg_color`` on field's ``options`` to change text color of a cell in tree view\n* Add attribute ``color_field`` on the tree element's ``colors`` to use as color\n\nUsage\n=====\n\n* In the tree view declaration, put ``options='{\"bg_color\": \"red: customer==True\"}`` attribute in the ``field`` tag::\n\n ...\n \n \n ...\n \n ...\n \n \n ...\n\n With this example, column which renders 'name' field will have its background colored in red.\n\n* In the tree view declaration, put ``options='{\"fg_color\": \"white:customer == True\"}'`` attribute in the ``field`` tag::\n\n ...\n \n \n ...\n \n ...\n \n \n ...\n\n With this example, column which renders 'name' field will have its text colored in white on a customer records.\n\n* In the tree view declaration, use ``options='\"color_field\": \"my_color\"'`` attribute in the ``tree`` tag::\n\n ...\n \n \n ...\n \n ...\n \n \n ...\n\n With this example, the content of the field named `my_color` will be used to\n populate the `my_color` CSS value. Use a function field to return whichever\n color you want depending on the other record values. Note that this\n overrides the rest of `colors` attributes, and that you need the tree\n to load your field in the first place by adding it as invisible field.\n\n**Note that you should always use single quotes for fields' ``options`` and wrap nested values in double quotes since ``options`` is a JSON object.**\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues\n`_. In case of trouble, please\ncheck there if your issue has already been reported. If you spotted it first,\nhelp us smash it by providing a detailed and welcomed feedback.\n\nCredits\n=======\n\nContributors\n------------\n\n* Damien Crier \n* Holger Brunn \n* Artem Kostyuk \n* Guewen Baconnier \n\nMaintainer\n----------\n\n.. image:: https://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: https://odoo-community.org\n\nThis module is maintained by the OCA.\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\nTo contribute to this module, please visit https://odoo-community.org.\n\n\n",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/OCA/web",
"keywords": "",
"license": "AGPL-3",
"maintainer": "",
"maintainer_email": "",
"name": "odoo11-addon-web-tree-dynamic-colored-field",
"package_url": "https://pypi.org/project/odoo11-addon-web-tree-dynamic-colored-field/",
"platform": "",
"project_url": "https://pypi.org/project/odoo11-addon-web-tree-dynamic-colored-field/",
"project_urls": {
"Homepage": "https://github.com/OCA/web"
},
"release_url": "https://pypi.org/project/odoo11-addon-web-tree-dynamic-colored-field/11.0.1.0.1/",
"requires_dist": [
"odoo (<11.1dev,>=11.0a)"
],
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
"summary": "Allows you to dynamically color fields on tree views",
"version": "11.0.1.0.1"
},
"last_serial": 4335007,
"releases": {
"11.0.1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "127be7e5f8e13d6a794ab36dad6f67c4",
"sha256": "88d28c32353423c92f7de5fc86fcbf088359d4b01394949721382d19f5f76112"
},
"downloads": -1,
"filename": "odoo11_addon_web_tree_dynamic_colored_field-11.0.1.0.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "127be7e5f8e13d6a794ab36dad6f67c4",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
"size": 20400,
"upload_time": "2018-02-27T05:30:20",
"url": "https://files.pythonhosted.org/packages/3a/f4/6e672977aeedd883a872557e83858d3e0590d2b7bdd8986d0d5191f07da4/odoo11_addon_web_tree_dynamic_colored_field-11.0.1.0.0-py2.py3-none-any.whl"
}
],
"11.0.1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "0f448e112a1e9e9a938cb68f34a0684c",
"sha256": "9b87597a5165b2145dc88119debf197341de34204d5214f044c68eb0355311fe"
},
"downloads": -1,
"filename": "odoo11_addon_web_tree_dynamic_colored_field-11.0.1.0.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "0f448e112a1e9e9a938cb68f34a0684c",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
"size": 20519,
"upload_time": "2018-03-17T05:33:00",
"url": "https://files.pythonhosted.org/packages/c1/2e/9385924beab0a9a28ffff6e65e7529c91c8c92c62b2d03ea1674e91f1122/odoo11_addon_web_tree_dynamic_colored_field-11.0.1.0.1-py2.py3-none-any.whl"
}
],
"11.0.1.0.1.99.dev1": [
{
"comment_text": "",
"digests": {
"md5": "c4adc150940464e7650bb0f145c2503b",
"sha256": "c78cd82d66c6864edbf1c21054b479199d43ada0fc48ea9ca41337c621617a9b"
},
"downloads": -1,
"filename": "odoo11_addon_web_tree_dynamic_colored_field-11.0.1.0.1.99.dev1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "c4adc150940464e7650bb0f145c2503b",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
"size": 20887,
"upload_time": "2018-03-29T04:30:33",
"url": "https://files.pythonhosted.org/packages/eb/17/8cdeb977b04019f294a2dfa6d9beebfe74f4113f20c5dad9b8da53ffbd98/odoo11_addon_web_tree_dynamic_colored_field-11.0.1.0.1.99.dev1-py2.py3-none-any.whl"
}
],
"11.0.1.0.1.99.dev2": [
{
"comment_text": "",
"digests": {
"md5": "e05316a0c7937eb4c6d1543fc509d9de",
"sha256": "deb9c79480705d6c688eacc32cf992b23a2b365bc5037db4f961468dd4b122f5"
},
"downloads": -1,
"filename": "odoo11_addon_web_tree_dynamic_colored_field-11.0.1.0.1.99.dev2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "e05316a0c7937eb4c6d1543fc509d9de",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
"size": 21401,
"upload_time": "2018-06-25T04:38:54",
"url": "https://files.pythonhosted.org/packages/3b/c1/5409432776df85a35c02acfcaa130fab27e5318c1b58f03312699d4da3b2/odoo11_addon_web_tree_dynamic_colored_field-11.0.1.0.1.99.dev2-py2.py3-none-any.whl"
}
],
"11.0.1.0.1.99.dev3": [
{
"comment_text": "",
"digests": {
"md5": "bb03a321d468ad2793b93f18a9bf9a5e",
"sha256": "7330be4564fefffbec52e379f33f4aa18ffc7db79a0e216bd599fcc7716f2905"
},
"downloads": -1,
"filename": "odoo11_addon_web_tree_dynamic_colored_field-11.0.1.0.1.99.dev3-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "bb03a321d468ad2793b93f18a9bf9a5e",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
"size": 18827,
"upload_time": "2018-08-02T04:37:11",
"url": "https://files.pythonhosted.org/packages/e8/54/620280c11edbfb4ea851cbb1b72097e43868bcf67c54eeb6f0a2745e9036/odoo11_addon_web_tree_dynamic_colored_field-11.0.1.0.1.99.dev3-py2.py3-none-any.whl"
}
],
"11.0.1.0.1.99.dev4": [
{
"comment_text": "",
"digests": {
"md5": "7f39a3f5314eeff756e3b8f75e23dab0",
"sha256": "f4328d714bcf32fdd3d8259ffae61f665cf3e05d132ad83042550309bef0fecd"
},
"downloads": -1,
"filename": "odoo11_addon_web_tree_dynamic_colored_field-11.0.1.0.1.99.dev4-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "7f39a3f5314eeff756e3b8f75e23dab0",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
"size": 18827,
"upload_time": "2018-10-03T04:37:27",
"url": "https://files.pythonhosted.org/packages/47/a2/9e328f9db6e2b9c12dead95e939629267921c4dd0940598aced764408c17/odoo11_addon_web_tree_dynamic_colored_field-11.0.1.0.1.99.dev4-py2.py3-none-any.whl"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "0f448e112a1e9e9a938cb68f34a0684c",
"sha256": "9b87597a5165b2145dc88119debf197341de34204d5214f044c68eb0355311fe"
},
"downloads": -1,
"filename": "odoo11_addon_web_tree_dynamic_colored_field-11.0.1.0.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "0f448e112a1e9e9a938cb68f34a0684c",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
"size": 20519,
"upload_time": "2018-03-17T05:33:00",
"url": "https://files.pythonhosted.org/packages/c1/2e/9385924beab0a9a28ffff6e65e7529c91c8c92c62b2d03ea1674e91f1122/odoo11_addon_web_tree_dynamic_colored_field-11.0.1.0.1-py2.py3-none-any.whl"
}
]
}