Skip to content

Commit

Permalink
Merge d962ebd into d8eb8a3
Browse files Browse the repository at this point in the history
  • Loading branch information
Thanavath committed Jun 24, 2015
2 parents d8eb8a3 + d962ebd commit 9d2b334
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/oscar/apps/checkout/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,6 @@ def ship_to_new_address(self, address_fields):
Use a manually entered address as the shipping address
"""
self._unset('shipping', 'new_address_fields')
phone_number = address_fields.get('phone_number')
if phone_number:
# Phone number is stored as a PhoneNumber instance. As we store
# strings in the session, we need to serialize it.
address_fields = address_fields.copy()
address_fields['phone_number'] = phone_number.as_international
self._set('shipping', 'new_address_fields', address_fields)

def new_shipping_address_fields(self):
Expand Down

0 comments on commit 9d2b334

Please sign in to comment.