[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:
committed by
Géry Debongnie
parent
aebc17f22a
commit
ffb4b670e8
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user