mirror of https://github.com/OCA/web.git
[BOT] post-merge updates
parent
67044f1c30
commit
3aeeccf7c9
|
@ -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_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 | [](https://github.com/robyf70) | Allow to draw plotly charts.
|
[web_widget_plotly_chart](web_widget_plotly_chart/) | 14.0.1.0.0 | [](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_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_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
|
[web_widget_x2many_2d_matrix](web_widget_x2many_2d_matrix/) | 14.0.1.1.1 | | Show list fields as a matrix
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
14.0.20231018.0
|
14.0.20231025.0
|
|
@ -65,6 +65,7 @@ setuptools.setup(
|
||||||
'odoo14-addon-web_widget_open_tab',
|
'odoo14-addon-web_widget_open_tab',
|
||||||
'odoo14-addon-web_widget_plotly_chart',
|
'odoo14-addon-web_widget_plotly_chart',
|
||||||
'odoo14-addon-web_widget_text_markdown',
|
'odoo14-addon-web_widget_text_markdown',
|
||||||
|
'odoo14-addon-web_widget_uom',
|
||||||
'odoo14-addon-web_widget_url_advanced',
|
'odoo14-addon-web_widget_url_advanced',
|
||||||
'odoo14-addon-web_widget_x2many_2d_matrix',
|
'odoo14-addon-web_widget_x2many_2d_matrix',
|
||||||
],
|
],
|
||||||
|
|
|
@ -2,10 +2,13 @@
|
||||||
Web Widget UoM
|
Web Widget UoM
|
||||||
==============
|
==============
|
||||||
|
|
||||||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
..
|
||||||
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
!! This file is generated by oca-gen-addon-readme !!
|
!! This file is generated by oca-gen-addon-readme !!
|
||||||
!! changes will be overwritten. !!
|
!! changes will be overwritten. !!
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
!! source digest: sha256:38dfa2cf8bbebca8a11c8b661e1ea517e57629a7a8171ae82f049f2eec42c941
|
||||||
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
|
||||||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
||||||
:target: https://odoo-community.org/page/development-status
|
: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
|
.. |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
|
:target: https://github.com/OCA/web/tree/14.0/web_widget_uom
|
||||||
:alt: OCA/web
|
: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
|
This module allows the user to decide maximum
|
||||||
decimal places should be displayed in the Odoo User
|
how many decimal places should be displayed in the Odoo User
|
||||||
Interface for each Unit of Measure.
|
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**
|
**Table of contents**
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
@ -43,7 +55,7 @@ In the view declaration, put widget='uom' attribute in the field tag::
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree string="View name">
|
<tree string="View name">
|
||||||
...
|
...
|
||||||
<field name="" widget="uom"/>
|
<field name="product_qty" widget="uom"/>
|
||||||
...
|
...
|
||||||
</tree>
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
|
@ -51,7 +63,7 @@ In the view declaration, put widget='uom' attribute in the field tag::
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<form string="View name">
|
<form string="View name">
|
||||||
...
|
...
|
||||||
<field name="" widget="uom"/>
|
<field name="product_qty" widget="uom"/>
|
||||||
...
|
...
|
||||||
</form>
|
</form>
|
||||||
</field>
|
</field>
|
||||||
|
@ -63,7 +75,7 @@ Widget Options::
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree string="View name">
|
<tree string="View name">
|
||||||
...
|
...
|
||||||
<field name="color" widget="color" options="{'uom_field': 'product_uom'}"/>
|
<field name="product_qty" widget="uom" options="{'uom_field': 'product_uom'}"/>
|
||||||
...
|
...
|
||||||
</tree>
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
|
@ -72,12 +84,19 @@ Widget Options::
|
||||||
If the UoM field in the model is not declared under the name uom_id, the
|
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.
|
option uom_field must be specified with the appropriate field name.
|
||||||
|
|
||||||
|
Known issues / Roadmap
|
||||||
|
======================
|
||||||
|
|
||||||
|
TODO
|
||||||
|
|
||||||
|
1. Add caching by uom.id
|
||||||
|
|
||||||
Bug Tracker
|
Bug Tracker
|
||||||
===========
|
===========
|
||||||
|
|
||||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
|
||||||
In case of trouble, please check there if your issue has already been reported.
|
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 <https://github.com/OCA/web/issues/new?body=module:%20web_widget_uom%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_widget_uom%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||||
|
|
||||||
Do not contact contributors directly about support or help with technical issues.
|
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
|
Credits
|
||||||
=======
|
=======
|
||||||
|
|
||||||
|
Authors
|
||||||
|
~~~~~~~
|
||||||
|
|
||||||
|
* Giovanni Serra
|
||||||
|
|
||||||
Contributors
|
Contributors
|
||||||
~~~~~~~~~~~~
|
~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 9.2 KiB |
|
@ -1,20 +1,20 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta name="generator" content="Docutils: http://docutils.sourceforge.net/" />
|
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
|
||||||
<title>Web Widget UoM</title>
|
<title>Web Widget UoM</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
|
||||||
/*
|
/*
|
||||||
:Author: David Goodger (goodger@python.org)
|
:Author: David Goodger (goodger@python.org)
|
||||||
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
|
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
|
||||||
:Copyright: This stylesheet has been placed in the public domain.
|
:Copyright: This stylesheet has been placed in the public domain.
|
||||||
|
|
||||||
Default cascading style sheet for the HTML output of Docutils.
|
Default cascading style sheet for the HTML output of Docutils.
|
||||||
|
|
||||||
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
|
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
|
||||||
customize this style sheet.
|
customize this style sheet.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -366,25 +366,31 @@ ul.auto-toc {
|
||||||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
!! This file is generated by oca-gen-addon-readme !!
|
!! This file is generated by oca-gen-addon-readme !!
|
||||||
!! changes will be overwritten. !!
|
!! changes will be overwritten. !!
|
||||||
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
!! source digest: sha256:38dfa2cf8bbebca8a11c8b661e1ea517e57629a7a8171ae82f049f2eec42c941
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/web/tree/14.0/web_widget_uom"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a></p>
|
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web/tree/14.0/web_widget_uom"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_widget_uom"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=14.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||||
<p>This module aims to allow the user to decide how many
|
<p>This module allows the user to decide maximum
|
||||||
decimal places should be displayed in the Odoo User
|
how many decimal places should be displayed in the Odoo User
|
||||||
Interface for each Unit of Measure.</p>
|
Interface for each Unit of Measure.</p>
|
||||||
|
<p>If “Show only inputed decimals” is enabled on the UoM,
|
||||||
|
the widget will show inputed decimals up to Decimal Places.</p>
|
||||||
<p><strong>Table of contents</strong></p>
|
<p><strong>Table of contents</strong></p>
|
||||||
<div class="contents local topic" id="contents">
|
<div class="contents local topic" id="contents">
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><a class="reference internal" href="#usage" id="id1">Usage</a></li>
|
<li><a class="reference internal" href="#usage" id="toc-entry-1">Usage</a></li>
|
||||||
<li><a class="reference internal" href="#bug-tracker" id="id2">Bug Tracker</a></li>
|
<li><a class="reference internal" href="#known-issues-roadmap" id="toc-entry-2">Known issues / Roadmap</a></li>
|
||||||
<li><a class="reference internal" href="#credits" id="id3">Credits</a><ul>
|
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-3">Bug Tracker</a></li>
|
||||||
<li><a class="reference internal" href="#contributors" id="id4">Contributors</a></li>
|
<li><a class="reference internal" href="#credits" id="toc-entry-4">Credits</a><ul>
|
||||||
<li><a class="reference internal" href="#maintainers" id="id5">Maintainers</a></li>
|
<li><a class="reference internal" href="#authors" id="toc-entry-5">Authors</a></li>
|
||||||
|
<li><a class="reference internal" href="#contributors" id="toc-entry-6">Contributors</a></li>
|
||||||
|
<li><a class="reference internal" href="#maintainers" id="toc-entry-7">Maintainers</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="usage">
|
<div class="section" id="usage">
|
||||||
<h1><a class="toc-backref" href="#id1">Usage</a></h1>
|
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
|
||||||
<p>In the UoM form view specify the number of decimal places that
|
<p>In the UoM form view specify the number of decimal places that
|
||||||
should be displayed for each unit of Measure:</p>
|
should be displayed for each unit of Measure:</p>
|
||||||
<img alt="Decimal Places in UoM form view" src="https://raw.githubusercontent.com/OCA/web/14.0/web_widget_uom/static/description/UoMDecimalPlaces.png" />
|
<img alt="Decimal Places in UoM form view" src="https://raw.githubusercontent.com/OCA/web/14.0/web_widget_uom/static/description/UoMDecimalPlaces.png" />
|
||||||
|
@ -394,7 +400,7 @@ should be displayed for each unit of Measure:</p>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree string="View name">
|
<tree string="View name">
|
||||||
...
|
...
|
||||||
<field name="" widget="uom"/>
|
<field name="product_qty" widget="uom"/>
|
||||||
...
|
...
|
||||||
</tree>
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
|
@ -402,7 +408,7 @@ should be displayed for each unit of Measure:</p>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<form string="View name">
|
<form string="View name">
|
||||||
...
|
...
|
||||||
<field name="" widget="uom"/>
|
<field name="product_qty" widget="uom"/>
|
||||||
...
|
...
|
||||||
</form>
|
</form>
|
||||||
</field>
|
</field>
|
||||||
|
@ -414,7 +420,7 @@ should be displayed for each unit of Measure:</p>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree string="View name">
|
<tree string="View name">
|
||||||
...
|
...
|
||||||
<field name="color" widget="color" options="{'uom_field': 'product_uom'}"/>
|
<field name="product_qty" widget="uom" options="{'uom_field': 'product_uom'}"/>
|
||||||
...
|
...
|
||||||
</tree>
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
|
@ -423,25 +429,38 @@ should be displayed for each unit of Measure:</p>
|
||||||
<p>If the UoM field in the model is not declared under the name uom_id, the
|
<p>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.</p>
|
option uom_field must be specified with the appropriate field name.</p>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="section" id="known-issues-roadmap">
|
||||||
|
<h1><a class="toc-backref" href="#toc-entry-2">Known issues / Roadmap</a></h1>
|
||||||
|
<p>TODO</p>
|
||||||
|
<ol class="arabic simple">
|
||||||
|
<li>Add caching by uom.id</li>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
<div class="section" id="bug-tracker">
|
<div class="section" id="bug-tracker">
|
||||||
<h1><a class="toc-backref" href="#id2">Bug Tracker</a></h1>
|
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
|
||||||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web/issues">GitHub Issues</a>.
|
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web/issues">GitHub Issues</a>.
|
||||||
In case of trouble, please check there if your issue has already been reported.
|
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
|
||||||
<a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_widget_uom%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
<a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_widget_uom%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||||
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="credits">
|
<div class="section" id="credits">
|
||||||
<h1><a class="toc-backref" href="#id3">Credits</a></h1>
|
<h1><a class="toc-backref" href="#toc-entry-4">Credits</a></h1>
|
||||||
|
<div class="section" id="authors">
|
||||||
|
<h2><a class="toc-backref" href="#toc-entry-5">Authors</a></h2>
|
||||||
|
<ul class="simple">
|
||||||
|
<li>Giovanni Serra</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
<div class="section" id="contributors">
|
<div class="section" id="contributors">
|
||||||
<h2><a class="toc-backref" href="#id4">Contributors</a></h2>
|
<h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li>Adria Gil Sorribes <<a class="reference external" href="mailto:adria.gil@eficent.com">adria.gil@eficent.com</a>></li>
|
<li>Adria Gil Sorribes <<a class="reference external" href="mailto:adria.gil@eficent.com">adria.gil@eficent.com</a>></li>
|
||||||
<li>Giovanni Serra <<a class="reference external" href="mailto:giovanni@gslab.it">giovanni@gslab.it</a>></li>
|
<li>Giovanni Serra <<a class="reference external" href="mailto:giovanni@gslab.it">giovanni@gslab.it</a>></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="maintainers">
|
<div class="section" id="maintainers">
|
||||||
<h2><a class="toc-backref" href="#id5">Maintainers</a></h2>
|
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
|
||||||
<p>This module is maintained by the OCA.</p>
|
<p>This module is maintained by the OCA.</p>
|
||||||
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
|
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
|
||||||
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
||||||
|
|
Loading…
Reference in New Issue