diff --git a/README.md b/README.md index ecf24b5f3930..c87d762c18cf 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,7 @@ addon | version | maintainers | summary [web_widget_one2many_product_picker_sale_stock_available_info_popup](web_widget_one2many_product_picker_sale_stock_available_info_popup/) | 12.0.1.0.1 | | Adds support for stock in the one2many product picker widget [web_widget_open_tab](web_widget_open_tab/) | 12.0.1.0.1 | | Allow to open record from trees on new tab from tree views [web_widget_plotly_chart](web_widget_plotly_chart/) | 12.0.1.0.1 | | Allow to draw plotly charts. +[web_widget_text_count](web_widget_text_count/) | 12.0.1.0.0 | | Web Textarea with Counter [web_widget_timepicker](web_widget_timepicker/) | 12.0.1.0.1 | | Web Timepicker Widget [web_widget_url_advanced](web_widget_url_advanced/) | 12.0.1.0.1 | | This module extends URL widget for displaying anchors with custom labels. [web_widget_url_translatable](web_widget_url_translatable/) | 12.0.1.0.0 | | Enable to set translation on fields using URL widget diff --git a/setup/_metapackage/VERSION.txt b/setup/_metapackage/VERSION.txt index 725dab0580ef..402c2e21ad70 100644 --- a/setup/_metapackage/VERSION.txt +++ b/setup/_metapackage/VERSION.txt @@ -1 +1 @@ -12.0.20220830.0 \ No newline at end of file +12.0.20241021.0 \ No newline at end of file diff --git a/setup/_metapackage/setup.py b/setup/_metapackage/setup.py index 748c94a58f7a..e3cea6ed3026 100644 --- a/setup/_metapackage/setup.py +++ b/setup/_metapackage/setup.py @@ -83,6 +83,7 @@ 'odoo12-addon-web_widget_one2many_product_picker_sale_stock_available_info_popup', 'odoo12-addon-web_widget_open_tab', 'odoo12-addon-web_widget_plotly_chart', + 'odoo12-addon-web_widget_text_count', 'odoo12-addon-web_widget_timepicker', 'odoo12-addon-web_widget_url_advanced', 'odoo12-addon-web_widget_url_translatable', diff --git a/web_widget_text_count/README.rst b/web_widget_text_count/README.rst index 1404b5ff8132..71a0f022cc76 100644 --- a/web_widget_text_count/README.rst +++ b/web_widget_text_count/README.rst @@ -2,10 +2,13 @@ Web Textarea with Counter ========================= -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:f7681aaaf82e1548879730b89a2b94a09bf6e6ca58c867b4936288bc1797ee5d + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status @@ -14,18 +17,21 @@ Web Textarea with Counter :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github - :target: https://github.com/OCA/web/tree/12.0/web_text_count_field + :target: https://github.com/OCA/web/tree/12.0/web_widget_text_count :alt: OCA/web .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_text_count_field + :target: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_widget_text_count :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/162/12.0 - :alt: Try me on Runbot +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=12.0 + :alt: Try me on Runboat -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| 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. **Table of contents** @@ -37,15 +43,24 @@ Usage .. code-block:: xml - + + or + + +Known issues / Roadmap +====================== + +Patch Text class on Python level to allow propagation of size same as in Char fields. +At the moment the size attribute can be applied only as an attribute on the tag. +Support inline position of the counter next to the textarea. Bug Tracker =========== Bugs are tracked on `GitHub 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 `_. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -61,6 +76,8 @@ Contributors ~~~~~~~~~~~~ * Yannick Vaucher +* Simone Orsi +* Vyshnevska Iryna Maintainers ~~~~~~~~~~~ @@ -75,6 +92,6 @@ 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. -This module is part of the `OCA/web `_ project on GitHub. +This module is part of the `OCA/web `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/web_widget_text_count/static/description/icon.png b/web_widget_text_count/static/description/icon.png new file mode 100644 index 000000000000..3a0328b516c4 Binary files /dev/null and b/web_widget_text_count/static/description/icon.png differ diff --git a/web_widget_text_count/static/description/index.html b/web_widget_text_count/static/description/index.html index b0873169f133..3ef295623dc0 100644 --- a/web_widget_text_count/static/description/index.html +++ b/web_widget_text_count/static/description/index.html @@ -1,20 +1,20 @@ - - + Web Textarea with Counter