From e2c3d40b57b17cd2fb36fda88a91913beebc1ede Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 1 Oct 2015 11:21:09 +0530 Subject: [PATCH] [hotfix] Payment Reconciliation Invoice Type --- .../doctype/payment_reconciliation/payment_reconciliation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/accounts/doctype/payment_reconciliation/payment_reconciliation.py b/erpnext/accounts/doctype/payment_reconciliation/payment_reconciliation.py index 8396ce5f67..81bfec5b0f 100644 --- a/erpnext/accounts/doctype/payment_reconciliation/payment_reconciliation.py +++ b/erpnext/accounts/doctype/payment_reconciliation/payment_reconciliation.py @@ -141,6 +141,7 @@ class PaymentReconciliation(Document): def reconcile(self, args): for e in self.get('payments'): + e.invoice_type = None if e.invoice_number and " | " in e.invoice_number: e.invoice_type, e.invoice_number = e.invoice_number.split(" | ")