@ -21,7 +21,6 @@ class IrExportsLine(models.Model):
field1_id = fields.Many2one(
"ir.model.fields",
"First field",
required=True,
domain="[('model_id', '=', model1_id)]")
field2_id = fields.Many2one(
@ -48,6 +48,7 @@
<field name="name"/>
<field
name="field1_id"
required="True"
options="{
'no_open': True,
'no_create': True,