def populate_alternative_model(self, address_model):
        """
        For populating an address model using the matching fields
        from this one.

        This is used to convert a user address to a shipping address
        as part of the checkout process.
        """
        destination_field_names = [
            field.name for field in address_model._meta.fields]
        for field_name in [field.name for field in self._meta.fields]:
            if destination_field_names in field_name and field_name != 'id':
                setattr(address_model, field_name, getattr(self, field_name))
dataset/ETHPy150Open django-oscar/django-oscar/src/oscar/apps/address/abstract_models.py/AbstractAddress.populate_alternative_model/swapped operands of `in`