def METHOD_NAME(self, order, mode, values, errors, error_msg):
    new_values, errors, error_msg = super(
        L10nBrWebsiteSale, self
    ).METHOD_NAME(order, mode, values, errors, error_msg)
    if "country_id" in new_values and new_values["country_id"] != "31":
        if "state_id" in errors:
            errors.pop("state_id", None)
        if "city_id" in errors:
            errors.pop("city_id", None)
        if "cnpj_cpf" in errors:
            errors.pop("city_id", None)
    if "city_id" in values:
        new_values["city_id"] = values["city_id"]
    if "cnpj_cpf" in values and "cnpj_cpf" not in errors:
        new_values["cnpj_cpf"] = values["cnpj_cpf"]
    if "company_type" in values and "company_type" not in errors:
        new_values["company_type"] = values["company_type"]
    if "street_name" in values:
        new_values["street_name"] = values["street_name"]
    if "street_number" in values:
        new_values["street_number"] = values["street_number"]
    if "district" in values:
        new_values["district"] = values["district"]
    return new_values, errors, error_msg