'An extension view can be converted to primary'

def testDefaultExtensionToPrimary(self):

    base = self.View.create({'inherit_id': None, 'arch': '<qweb/>'})
    view = self.View.create({'inherit_id': base.id, 'arch': '<qweb/>'})
    view.write({'mode': 'primary'})
