mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
Merge pull request #430 from scmmishra/auto-invoicing
fix: naming series bug for ticket invoicing
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user