def METHOD_NAME(self):
    for record in self:
        tax_agency_version = record.get_current_version()
        record.version = tax_agency_version.version
        record.qr_base_url = tax_agency_version.qr_base_url
        record.test_qr_base_url = tax_agency_version.test_qr_base_url
        record.rest_url_invoice = tax_agency_version.rest_url_invoice
        record.rest_url_cancellation = tax_agency_version.rest_url_cancellation
        record.test_rest_url_invoice = tax_agency_version.test_rest_url_invoice
        record.test_rest_url_cancellation = (
            tax_agency_version.test_rest_url_cancellation
        )