Skip to main content

SomItCoop ODOO widget to set background-color and color on list view

Project description

Beta License: AGPL-3

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

Authors

  • SomIT SCCL

  • Som Connexio SCCL

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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


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

File hashes

Hashes for odoo-addon-widget_list_row_color-16.0.1.0.0.tar.gz
Algorithm Hash digest
SHA256 6be2370deda921b7c3e8775158d19d07615ceda5882e317dc9769f990eec2c0b
MD5 a9e6e8609071b9b594f9004fc1566294
BLAKE2b-256 17cbc62083c6eca06b686f671043fc35675e7d226e58594c586f042d2acf845e

See more details on using hashes here.

File details

Details for the file odoo_addon_widget_list_row_color-16.0.1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_widget_list_row_color-16.0.1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0c18cc7181712639b2ac4f8ccc31fa3a697cff96a044fee2cc7018295e6c2e89
MD5 dfab08b0a2130e5240349b9b857a3429
BLAKE2b-256 0ce61998d490a5dd10fb7a17ea163b263b3b7b3ac8413dc03cbe22ec2a8d9eca

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page