Use "complete" composite key for importing CORE equity payments
This commit is contained in:
parent
b77b5cdf8c
commit
4bff0832e8
|
@ -258,8 +258,11 @@ class MemberEquityPaymentImporter(FromCOREPOS, corepos_importing.model.MemberEqu
|
||||||
Imports equity payment data from CORE-POS
|
Imports equity payment data from CORE-POS
|
||||||
"""
|
"""
|
||||||
host_model_class = coretrans.StockPurchase
|
host_model_class = coretrans.StockPurchase
|
||||||
# TODO: this is composite key for StockPurchase, but may need to change?
|
key = ('corepos_card_number',
|
||||||
key = ('member_uuid', 'received', 'transaction_identifier')
|
'corepos_transaction_number',
|
||||||
|
'corepos_transaction_id',
|
||||||
|
'corepos_department_number',
|
||||||
|
'corepos_datetime')
|
||||||
supported_fields = [
|
supported_fields = [
|
||||||
'member_uuid',
|
'member_uuid',
|
||||||
'amount',
|
'amount',
|
||||||
|
|
Loading…
Reference in a new issue