Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Do not use default billing address instance in checkout
Anna Siwik39a74eb4ebc6
diff --git a/saleor/checkout/views/summary.py b/saleor/checkout/views/summary.pyindex ae49e10c56..222a49c5ae 100644--- a/saleor/checkout/views/summary.py+++ b/saleor/checkout/views/summary.py@@ -160,8 +160,7 @@ def summary_without_shipping(request, checkout):address_form, preview = get_address_form(request.POST or None, autocomplete_type='billing',initial={'country': request.country},- country_code=billing_address.country.code,- instance=billing_address)+ country_code=billing_address.country.code)addresses_form = BillingWithoutShippingAddressForm(request.POST or None, additional_addresses=user_addresses,initial={'address': billing_address.id})