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

odoo-addon-widget_list_row_color-16.0.1.0.1.tar.gz (90.5 kB view details)

Uploaded Source

File details

Details for the file odoo-addon-widget_list_row_color-16.0.1.0.1.tar.gz.

File metadata

File hashes

Hashes for odoo-addon-widget_list_row_color-16.0.1.0.1.tar.gz
Algorithm Hash digest
SHA256 1249bce81f839bc0925929f09c23a74bec8e0c133bdadc91b4add11dc97a5ff1
MD5 6429dfd4b9bcff10ccef21c06b59272b
BLAKE2b-256 d68b561f19204a8ca2f907ffe0a32bd066762fdd057452c58b6225a47b172fc8

See more details on using hashes here.

Supported by

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