When creating new customer with address specified, server raises an exception saying:
ValueError: Cannot assign "(<Address: Address: 10 Rue de la Paix, Paris, Île-de-France, 75002, FR>, False)": "Customer.billing_address" must be a "Address" instance
(Described in issue #786)
The exception occurs when fetching/creating address record, get_or_create() method returns a tuple and its first element is the model object we expected.
When creating new customer with address specified, server raises an exception saying:
(Described in issue #786)
The exception occurs when fetching/creating address record,
get_or_create()
method returns a tuple and its first element is the model object we expected.