Changeset - 6e51f36fc586
[Not reviewed]
0 1 0
Lance Edgar - 5 years ago 2020-03-18 12:29:35
lance@edbob.org
Import `Member.number` from CORE
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general) First comment
rattail_corepos/importing/corepos/api.py
Show inline comments
 
@@ -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,
0 comments (0 inline, 0 general) First comment
You need to be logged in to comment. Login now