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 odoo12-addon-widget_list_row_color-12.0.0.1.0.tar.gz.

File metadata

  • Download URL: odoo12-addon-widget_list_row_color-12.0.0.1.0.tar.gz
  • Upload date:
  • Size: 89.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

File hashes

Hashes for odoo12-addon-widget_list_row_color-12.0.0.1.0.tar.gz
Algorithm Hash digest
SHA256 ac267d3b3bf883e5e443b8dbf043234a07b0dcbd54d6b1f34af7b568d0d42be8
MD5 0bb13ecf9e624827b0f74dd29d8d23c1
BLAKE2b-256 1d3f9399ec42645ade5cd99d0d979326d75962357b32ef4271d8fbcf5bb80d55

See more details on using hashes here.

File details

Details for the file odoo12_addon_widget_list_row_color-12.0.0.1.0-py3-none-any.whl.

File metadata

  • Download URL: odoo12_addon_widget_list_row_color-12.0.0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 90.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

File hashes

Hashes for odoo12_addon_widget_list_row_color-12.0.0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 445d0772dbef7f1848ca75dae81ba1adcdd07a59842c9018a0317d45fcf1fc70
MD5 1c23239387dc42a52cc2fcc98d4741d2
BLAKE2b-256 838ca32c3249a0fe59812f91a07fd54cc9a3ad5b8335c0e8fb45d0875c980df8

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