summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2018-02-09 15:47:43 +0100
committerGéry Debongnie <ged@odoo.com>2018-04-05 09:22:09 +0200
commit19946294fad8edcb046cc79d5c2b94c405db6840 (patch)
tree9b7371561869d19c031289b34b9775ccfa84590b /addons/web/static/src/js/fields/basic_fields.js
parent438006b56d66175923c3795c666f07245358ade3 (diff)
[DOC] doc: update/add documentation on js framework
The state of the JS documentation was quite sad, not updated in a long time. With this commit, we rework a lot of the JS doc. Most notably, we add a section 'Javascript Cheatsheet' (help on some common customization tasks) and rewrite the 'Javascript Reference' totally. Note that the JS reference page also contains a reference on all field widgets. This work is just the beginning, it is probably not complete, but at least we will have a foundation.
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
-rw-r--r--addons/web/static/src/js/fields/basic_fields.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/fields/basic_fields.js b/addons/web/static/src/js/fields/basic_fields.js
index ac005599bdb..ee9958406c5 100644
--- a/addons/web/static/src/js/fields/basic_fields.js
+++ b/addons/web/static/src/js/fields/basic_fields.js
@@ -1838,7 +1838,7 @@ var StatInfo = AbstractField.extend({
var FieldPercentPie = AbstractField.extend({
template: 'FieldPercentPie',
- supportedFieldTypes: ['integer'],
+ supportedFieldTypes: ['integer', 'float'],
/**
* Register some useful references for later use throughout the widget.