'Return (res_model, res_id)'

@api.model
def xmlid_to_res_model_res_id(self, xmlid, raise_if_not_found=False):

    try:
        return self.xmlid_lookup(xmlid)[1:3]
    except ValueError:
        if raise_if_not_found:
            raise
        return (False, False)
