'Returns the id of the ir.model.data record corresponding to a given module and xml_id (cached) or raise a ValueError if not found'

@api.model
def _get_id(self, module, xml_id):

    return self.xmlid_lookup(('%s.%s' % (module, xml_id)))[0]
