fix phone in federation membership

This commit is contained in:
Cayo Puigdefabregas 2024-03-18 16:25:40 +01:00
parent b5416990a6
commit f922cf16d7

View file

@ -225,7 +225,11 @@ class ImportForm(forms.Form):
props = self.json_schema.get("properties", {})
# Forze than pandas read one column as string
dtype_dict = {"phoneNumber": str, 'postCode': str}
dtype_dict = {
"phoneNumber": str,
"phone": str,
'postCode': str
}
df = pd.read_excel(data, dtype=dtype_dict)
df.fillna('', inplace=True)