[MERGE] forward port branch 11.0 up to 219d2296d6

This commit is contained in:
Christophe Simonis
2018-07-23 16:03:25 +02:00
29 changed files with 347 additions and 59 deletions
@@ -1773,7 +1773,7 @@ var StatInfo = AbstractField.extend({
*/
_render: function () {
var options = {
value: this.value || 0,
value: this._formatValue(this.value || 0),
};
if (! this.attrs.nolabel) {
if (this.nodeOptions.label_field && this.recordData[this.nodeOptions.label_field]) {