duplicate phone attribute kind with dedicated name

This commit is contained in:
Frédéric Péters 2021-01-18 11:06:11 +01:00
parent b603bd3139
commit d6212c93e1
1 changed files with 7 additions and 0 deletions

View File

@ -117,6 +117,13 @@ class Plugin(object):
'name': 'phone',
'field_class': fields.NumPhoneField,
},
{
'label': _('Phone number'),
'serialize': json.dumps,
'deserialize': json.loads,
'name': 'fedict_phone',
'field_class': fields.NumPhoneField,
},
{
'label': _('Country'),
'serialize': json.dumps,