diff --git a/README.md b/README.md index ba925b111..70648029d 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ addon | version | maintainers | summary [web_widget_open_tab](web_widget_open_tab/) | 14.0.1.0.0 | | Allow to open record from trees on new tab from tree views [web_widget_plotly_chart](web_widget_plotly_chart/) | 14.0.1.0.0 | [![robyf70](https://github.com/robyf70.png?size=30px)](https://github.com/robyf70) | Allow to draw plotly charts. [web_widget_text_markdown](web_widget_text_markdown/) | 14.0.1.0.0 | | Widget to text fields that adds markdown support +[web_widget_uom](web_widget_uom/) | 14.0.1.0.0 | | Allow user to to decide how many decimal places should be displayed for UoM. [web_widget_url_advanced](web_widget_url_advanced/) | 14.0.1.0.1 | | This module extends URL widget for displaying anchors with custom labels. [web_widget_x2many_2d_matrix](web_widget_x2many_2d_matrix/) | 14.0.1.1.1 | | Show list fields as a matrix diff --git a/setup/_metapackage/VERSION.txt b/setup/_metapackage/VERSION.txt index 8e7740723..48e72a92b 100644 --- a/setup/_metapackage/VERSION.txt +++ b/setup/_metapackage/VERSION.txt @@ -1 +1 @@ -14.0.20231018.0 \ No newline at end of file +14.0.20231025.0 \ No newline at end of file diff --git a/setup/_metapackage/setup.py b/setup/_metapackage/setup.py index f2e19eb63..58ed8113c 100644 --- a/setup/_metapackage/setup.py +++ b/setup/_metapackage/setup.py @@ -65,6 +65,7 @@ setuptools.setup( 'odoo14-addon-web_widget_open_tab', 'odoo14-addon-web_widget_plotly_chart', 'odoo14-addon-web_widget_text_markdown', + 'odoo14-addon-web_widget_uom', 'odoo14-addon-web_widget_url_advanced', 'odoo14-addon-web_widget_x2many_2d_matrix', ], diff --git a/web_widget_uom/README.rst b/web_widget_uom/README.rst index 30c04aa2c..c0b9be865 100644 --- a/web_widget_uom/README.rst +++ b/web_widget_uom/README.rst @@ -2,10 +2,13 @@ Web Widget UoM ============== -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:38dfa2cf8bbebca8a11c8b661e1ea517e57629a7a8171ae82f049f2eec42c941 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status @@ -16,13 +19,22 @@ Web Widget UoM .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github :target: https://github.com/OCA/web/tree/14.0/web_widget_uom :alt: OCA/web +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_widget_uom + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=14.0 + :alt: Try me on Runboat -|badge1| |badge2| |badge3| +|badge1| |badge2| |badge3| |badge4| |badge5| -This module aims to allow the user to decide how many -decimal places should be displayed in the Odoo User +This module allows the user to decide maximum +how many decimal places should be displayed in the Odoo User Interface for each Unit of Measure. +If "Show only inputed decimals" is enabled on the UoM, +the widget will show inputed decimals up to Decimal Places. + **Table of contents** .. contents:: @@ -43,7 +55,7 @@ In the view declaration, put widget='uom' attribute in the field tag:: ... - + ... @@ -51,7 +63,7 @@ In the view declaration, put widget='uom' attribute in the field tag::
... - + ... @@ -63,7 +75,7 @@ Widget Options:: ... - + ... @@ -72,12 +84,19 @@ Widget Options:: If the UoM field in the model is not declared under the name uom_id, the option uom_field must be specified with the appropriate field name. +Known issues / Roadmap +====================== + +TODO + +1. Add caching by uom.id + 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 +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. @@ -85,6 +104,11 @@ Do not contact contributors directly about support or help with technical issues Credits ======= +Authors +~~~~~~~ + +* Giovanni Serra + Contributors ~~~~~~~~~~~~ diff --git a/web_widget_uom/static/description/icon.png b/web_widget_uom/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/web_widget_uom/static/description/icon.png differ diff --git a/web_widget_uom/static/description/index.html b/web_widget_uom/static/description/index.html index 6b248a0aa..2d69232fb 100644 --- a/web_widget_uom/static/description/index.html +++ b/web_widget_uom/static/description/index.html @@ -1,20 +1,20 @@ - + - + Web Widget UoM