[FIX] pad: display oe_pad field even if empty

as it prints the helper saying that the pad will be initialized
on first edit.
This commit is contained in:
Aaron Bohy
2016-04-21 15:21:41 +02:00
committed by Géry Debongnie
parent aebc17f22a
commit ffb4b670e8
+3
View File
@@ -84,6 +84,9 @@ var FieldPad = form_common.AbstractField.extend(form_common.ReinitializeWidgetMi
}
});
},
is_false: function() {
return false;
}
});
core.form_widget_registry.add('pad', FieldPad);