Commit 011e80c4 authored by Xiaowu Zhang's avatar Xiaowu Zhang
parent 29344b84
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
id: field_json.key, id: field_json.key,
name: field_json.key, name: field_json.key,
title: field_json.title, title: field_json.title,
precision: window.parseFloat(field_json.precision), precision: window.parseFloat(field_json.precision > 0 ? field_json.precision : 0),
// erp5 always put value into "default" (never "value") // erp5 always put value into "default" (never "value")
value: window.parseFloat(field_json.default), value: window.parseFloat(field_json.default),
text_content: '', text_content: '',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment