'A primary view with an inherit_id can be converted to extension'

def testInheritPrimaryToExtension(self):

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