Fixed other direction of customer class
This commit is contained in:
@@ -138,7 +138,7 @@ class CustomerFactory:
|
||||
phone_numbers = []
|
||||
if customer.telephone:
|
||||
for tel in customer.telephone:
|
||||
phone_numbers.append((tel.phone_number, tel.phone_tech_type))
|
||||
phone_numbers.append((tel.phone_number, PhoneTechType(tel.phone_tech_type) if tel.phone_tech_type else None))
|
||||
|
||||
# Extract email info
|
||||
email_address = None
|
||||
|
||||
Reference in New Issue
Block a user