Import Member.corepos_account_id
from CORE
This commit is contained in:
parent
0c29a28f22
commit
b6e4ad2a21
|
@ -787,6 +787,7 @@ class MemberImporter(FromCOREPOSAPI, corepos_importing.model.MemberImporter):
|
||||||
key = 'number'
|
key = 'number'
|
||||||
supported_fields = [
|
supported_fields = [
|
||||||
'number',
|
'number',
|
||||||
|
'corepos_account_id',
|
||||||
'customer_uuid',
|
'customer_uuid',
|
||||||
'person_uuid',
|
'person_uuid',
|
||||||
'membership_type_number',
|
'membership_type_number',
|
||||||
|
@ -881,6 +882,7 @@ class MemberImporter(FromCOREPOSAPI, corepos_importing.model.MemberImporter):
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'number': card_number,
|
'number': card_number,
|
||||||
|
'corepos_account_id': int(member['customerAccountID']),
|
||||||
'customer_uuid': customer.uuid,
|
'customer_uuid': customer.uuid,
|
||||||
'person_uuid': person.uuid,
|
'person_uuid': person.uuid,
|
||||||
'membership_type_number': typeno,
|
'membership_type_number': typeno,
|
||||||
|
|
Loading…
Reference in a new issue