OdooWiki OCA HUB

Web Textarea with Counter

web_widget_text_count folder_open OCA/web open_in_new
Web License: AGPL-3

Widget text_count displays a character counter next to the text field. If in xml you setup additional attribute size for this field, counter will show amount characters you left for this field, and will prohibit further input when maximum is reached.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Adds a character counter next to text fields in Odoo forms. If a maximum size is set, it shows the remaining characters and blocks typing beyond the limit.

This module adds a new widget called text_count for text fields in Odoo. When a text field uses this widget, a small read-only counter appears next to it while editing.

  • If the field has a maximum size defined, the counter shows how many characters are still allowed and typing stops once the limit is reached.
  • If no maximum size is set, the counter simply shows how many characters have been typed so far.

The counter updates automatically as you type. The widget only works for text fields (not for other field types). It is available in the backend interface, so form views can use it by setting the widget attribute on a text field.

No new menus, models, or business rules are added. The module only changes how text fields behave and look in the user interface.

Depends on

web

Text generated by AI (DeepSeek) from reading the Odoo 12.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 12.0
<field name="text" widget="text_count" size="250"/>
or
<field name="text" widget="text_count"/>

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.