'If an m2o field is required, its three sub-fields are
required as well (the client has to handle that: requiredness
is id-based)'

def test_m2o_required(self):

    self.assertEqualFields(self.get_fields('m2o.required'), make_field(field_type='many2one', required=True, fields=[{'id': 'value', 'name': 'id', 'string': 'External    ID', 'required': True, 'fields': [], 'type': 'id'}, {'id': 'value', 'name': '.id', 'string': 'Database    ID', 'required': True, 'fields': [], 'type': 'id'}]))
