diff options
| author | Martin Geubelle <mge@odoo.com> | 2017-06-21 16:43:21 +0200 |
|---|---|---|
| committer | Martin Geubelle <mge@odoo.com> | 2017-06-22 10:52:26 +0200 |
| commit | c62a4edcb04fb1e3d65dea056123cece72425b7e (patch) | |
| tree | ea8a615d6314998690c2debed6047c57222695b5 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 3de0715f12d1a965d444f2d1cc816ca3d740a839 (diff) | |
[FIX] web: set 0 as default value for numeric fields
When creating a new record, the numeric field default value should be 0 in order
to avoid manually setting mandatory fields to 0.
This behaviour has been removed with the new views but one wants to restore it.
The `mockRead` function has also been adapted in this commit because the server
returns 0 for unset numeric fields.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
