summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/js')
-rw-r--r--addons/web/static/src/js/widgets/progress_bar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/widgets/progress_bar.js b/addons/web/static/src/js/widgets/progress_bar.js
index c97083a89c8..abe1009b1fa 100644
--- a/addons/web/static/src/js/widgets/progress_bar.js
+++ b/addons/web/static/src/js/widgets/progress_bar.js
@@ -84,7 +84,7 @@ var ProgressBar = Widget.extend({
if(this.edit_max_value) {
this.max_value = $(e.target).val();
} else {
- this.value = $(e.target).val();
+ this.value = $(e.target).val() || 0;
}
this._render_value();