SomItCoop ODOO widget to set background-color and color on list view
Project description
Allows the customization of font color and background for tree views (one2many fields included).
Table of contents
Configuration
No configuration needed for this module.
Usage
You need a template with the following fields:
color_row = fields.Char("Color Row", default="#000000")
color_background_row = fields.Char("Color Background Row", default="#FFFFFF")
And for context activate the functionality:
context="{'active_colors': True}"
In an action:
<record id="helpdesk_mgmt.helpdesk_ticket_action" model="ir.actions.act_window">
<field name="context">{'active_colors': True}</field>
</record>
In a one2many field:
<field name="message_emails_ids" context="{'active_colors': True}">
<tree editable="false" create="false" delete="false">
<field name="name"/>
<field name="color_row" invisible="1"/>
<field name="color_background_row" invisible="1"/>
</tree>
</field>
Known issues / Roadmap
There are no issues for the moment.
Bug Tracker
Bugs are tracked on GitLab Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
-
Álvaro García <alvaro.garcia@somit.coop>
José Robles <jose.robles@somit.coop>
Juan Manuel Regalado <juanmanuel.regalado@somit.coop>
-
Gerard Funosas <gerard.funosas@somconnexio.coop>
Maintainers
This module is maintained by the OCA.
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.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file odoo-addon-widget_list_row_color-16.0.1.0.0.tar.gz
.
File metadata
- Download URL: odoo-addon-widget_list_row_color-16.0.1.0.0.tar.gz
- Upload date:
- Size: 90.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6be2370deda921b7c3e8775158d19d07615ceda5882e317dc9769f990eec2c0b |
|
MD5 | a9e6e8609071b9b594f9004fc1566294 |
|
BLAKE2b-256 | 17cbc62083c6eca06b686f671043fc35675e7d226e58594c586f042d2acf845e |
File details
Details for the file odoo_addon_widget_list_row_color-16.0.1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: odoo_addon_widget_list_row_color-16.0.1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 90.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c18cc7181712639b2ac4f8ccc31fa3a697cff96a044fee2cc7018295e6c2e89 |
|
MD5 | dfab08b0a2130e5240349b9b857a3429 |
|
BLAKE2b-256 | 0ce61998d490a5dd10fb7a17ea163b263b3b7b3ac8413dc03cbe22ec2a8d9eca |