Import Member.number
from CORE
This commit is contained in:
parent
8917316a21
commit
6e51f36fc5
|
@ -483,6 +483,7 @@ class MemberImporter(FromCOREPOSAPI, importing.model.MemberImporter):
|
|||
key = 'id'
|
||||
supported_fields = [
|
||||
'id',
|
||||
'number',
|
||||
'customer_uuid',
|
||||
'joined',
|
||||
'withdrew',
|
||||
|
@ -548,6 +549,7 @@ class MemberImporter(FromCOREPOSAPI, importing.model.MemberImporter):
|
|||
|
||||
return {
|
||||
'id': str(member['cardNo']),
|
||||
'number': int(member['cardNo']),
|
||||
'customer_uuid': customer.uuid,
|
||||
'joined': joined,
|
||||
'withdrew': withdrew,
|
||||
|
|
Loading…
Reference in a new issue