summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2015-05-05 18:48:34 +0200
committerChristophe Simonis <chs@odoo.com>2015-05-05 18:48:34 +0200
commit22604968793a7cc12c8fcf89411ba5b79c0642b3 (patch)
tree7332814024d0a8f872e726b4f907020cc3a6a341 /addons/web/static/src/xml/base.xml
parent28b5d0da0d05b2f4cd68ffbd39288f9f01c8f57f (diff)
parenta939a272efa7cdd047e79a0a6da361e94ca93d4f (diff)
[MERGE] forward port of branch 8.0 up to a939a27
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 9caf15e3b7c..379b28597ef 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1777,7 +1777,11 @@
<input type="number" class="field_integer form-control" value = "0" step="1"/>
</t>
<t t-name="SearchView.extended_search.proposition.float">
- <input type="number" class="field_float form-control" value = "0.0" step="0.01"/>
+ <input class="field_float form-control"
+ t-att-type="widget.decimal_point === '.' ? 'number' : 'text'"
+ t-attf-title="Number using #{widget.decimal_point || '.' } as decimal separator."
+ t-attf-pattern="[0-9]+([\\#{widget.decimal_point || '.' }][0-9]+)?"
+ t-attf-value="0#{widget.decimal_point || '.' }0" step="0.01"/>
</t>
<t t-name="SearchView.extended_search.proposition.selection">
<select class="form-control">