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

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