summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
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-03-30 14:11:49 +0200
commitea6e7379a35e91f9ad064e5ad1e87c5177ea067b (patch)
tree1c5651a5deceea5443941c3ac30128a02f006ee3 /addons/web/static/src/js/fields
parent694f2d4b207739b8a095688782cebe59e73bb935 (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')
-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 8a42f91161c..eb0a4a2cdaf 100644
--- a/addons/web/static/src/js/fields/basic_fields.js
+++ b/addons/web/static/src/js/fields/basic_fields.js
@@ -1757,7 +1757,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.