From 1a8cb045d9d84688ace4ff981af1489ec3c228fd Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Thu, 8 Aug 2019 11:40:01 +0530 Subject: [PATCH] fix: naming series bug --- .../doctype/conference_participant/conference_participant.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/foundation/erpnext_foundation/doctype/conference_participant/conference_participant.py b/foundation/erpnext_foundation/doctype/conference_participant/conference_participant.py index b003f5ce..23aec3b3 100644 --- a/foundation/erpnext_foundation/doctype/conference_participant/conference_participant.py +++ b/foundation/erpnext_foundation/doctype/conference_participant/conference_participant.py @@ -23,7 +23,7 @@ class ConferenceParticipant(Document): transaction = get_integration_request(self.name, self.currency) if not transaction: return - series = 'BC-19-20-' + naming_series = 'BC-19-20-' rate = '5000' currency = 'INR' customer = 'ERPNext Conference 2019 Participant' @@ -47,7 +47,7 @@ class ConferenceParticipant(Document): ] if transaction.service == 'Paypal': - series = 'EXP-19-20-' + naming_series = 'EXP-19-20-' rate = '80' currency = 'USD' account_type = 'Debtors USD - EF'