'Check whether views know their xmlid record.'

def test_model_data_id(self):

    view = self.env.ref('base.view_company_form')
    self.assertTrue(view)
    self.assertTrue(view.model_data_id)
    self.assertEqual(view.model_data_id.complete_name, 'base.view_company_form')
