| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 156 |
| Technical Name |
odoo_char_tags |
| License | OPL-1 |
| Website | https://www.linkedin.com/in/mohmd-zeeshan/ |
| Versions | 16.0 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 156 |
| Technical Name |
odoo_char_tags |
| License | OPL-1 |
| Website | https://www.linkedin.com/in/mohmd-zeeshan/ |
| Versions | 16.0 17.0 18.0 19.0 |
Char Tags Widget
Transform any char field into a beautiful tag input. Type and press Enter to create colorful tags stored as comma-separated values.
Key Highlights
Tag Input
Type and press Enter to create tags instantly with a beautiful UI.
Colorful Chips
16 unique color combinations with hash-based automatic assignment.
Keyboard Friendly
Enter to add, Backspace to remove, click X to delete tags.
Configurable
Customizable separator character (default: comma) for flexible storage.
Simple Storage
Tags stored as comma-separated values in a standard char field.
Responsive
Clean, responsive design that works perfectly on all screen sizes.
Screenshots

Widget in Form View
The char tags widget transforms a simple char field into an interactive tag input.

Creating Tags
Type text and press Enter to create tags. Each tag gets a unique color.

Managing Tags
Click the X button on any tag to remove it, or use Backspace to remove the last tag.
How to Use
📥 1. Install the Module
Install Char Tags Widget from Odoo Apps or place the odoo_char_tags folder in your addons path.
💻 2. Add a Char Field to Your Model
In your Python model, add a char field to store the tags:
_name = 'my.model'
tags = fields.Char(string="Tags")
👁 3. Use the Widget in Your XML View
Apply the char_tags widget to your char field:
⚙ 4. Widget Options
Customize the separator character:
options="{'separator': ','}"/>
| Option | Type | Default | Description |
|---|---|---|---|
separator | String | "," | Character used to separate tags when stored |
ℹ 5. How It Works
The widget stores tags as a comma-separated string. Each tag gets a consistent color based on its text hash.
Features
- ✓ Type and press Enter to create tags instantly
- ✓ Colorful chip/pill UI with 16 unique color combinations
- ✓ Backspace key to remove the last tag
- ✓ Click X button to remove individual tags
- ✓ Configurable separator (default: comma)
- ✓ Hash-based color assignment for consistent tag colors
- ✓ Odoo 16 Community & Enterprise compatible
How It Works
Type Text
Type your tag text in the input field
Press Enter
Press Enter to create the tag
See Colors
Each tag gets a unique color
Saved
Tags saved as comma-separated values
Support
Say hi to us on WhatsApp!
☏ +92 315 946 4305Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module