diff --git a/addons/web/static/src/views/fields/x2many/x2many_field.js b/addons/web/static/src/views/fields/x2many/x2many_field.js index 99a4e794896..ae4a0d07f95 100644 --- a/addons/web/static/src/views/fields/x2many/x2many_field.js +++ b/addons/web/static/src/views/fields/x2many/x2many_field.js @@ -247,8 +247,8 @@ export class X2ManyField extends Component { X2ManyField.components = { Pager, KanbanRenderer, ListRenderer, ViewButton }; X2ManyField.props = { ...standardFieldProps, - addLabel: { type: "string", optional: true }, - editable: { type: "string", optional: true }, + addLabel: { type: String, optional: true }, + editable: { type: String, optional: true }, }; X2ManyField.supportedTypes = ["one2many", "many2many"]; X2ManyField.displayName = _lt("Relational table");