diff options
| author | Géry Debongnie <ged@odoo.com> | 2018-02-09 15:47:43 +0100 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2018-03-30 14:11:49 +0200 |
| commit | ea6e7379a35e91f9ad064e5ad1e87c5177ea067b (patch) | |
| tree | 1c5651a5deceea5443941c3ac30128a02f006ee3 /addons/web/static/src/js | |
| parent | 694f2d4b207739b8a095688782cebe59e73bb935 (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')
| -rw-r--r-- | addons/web/static/src/js/fields/basic_fields.js | 2 |
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. |
