fix: naming series bug

This commit is contained in:
Shivam Mishra
2019-08-08 11:40:01 +05:30
parent bf0b742dc8
commit 1a8cb045d9

View File

@@ -23,7 +23,7 @@ class ConferenceParticipant(Document):
transaction = get_integration_request(self.name, self.currency) transaction = get_integration_request(self.name, self.currency)
if not transaction: if not transaction:
return return
series = 'BC-19-20-' naming_series = 'BC-19-20-'
rate = '5000' rate = '5000'
currency = 'INR' currency = 'INR'
customer = 'ERPNext Conference 2019 Participant' customer = 'ERPNext Conference 2019 Participant'
@@ -47,7 +47,7 @@ class ConferenceParticipant(Document):
] ]
if transaction.service == 'Paypal': if transaction.service == 'Paypal':
series = 'EXP-19-20-' naming_series = 'EXP-19-20-'
rate = '80' rate = '80'
currency = 'USD' currency = 'USD'
account_type = 'Debtors USD - EF' account_type = 'Debtors USD - EF'