commit | e2c3d40b57b17cd2fb36fda88a91913beebc1ede | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@erpnext.com> | Thu Oct 01 11:21:09 2015 +0530 |
committer | Anand Doshi <anand@erpnext.com> | Thu Oct 01 11:21:26 2015 +0530 |
tree | de80d40494da29b4599ce9e4fd5d713e648ce4a6 | |
parent | 673887455f0e57c3bb02dae16b73fa47d80a1660 [diff] |
[hotfix] Payment Reconciliation Invoice Type
diff --git a/erpnext/accounts/doctype/payment_reconciliation/payment_reconciliation.py b/erpnext/accounts/doctype/payment_reconciliation/payment_reconciliation.py index 8396ce5..81bfec5 100644 --- a/erpnext/accounts/doctype/payment_reconciliation/payment_reconciliation.py +++ b/erpnext/accounts/doctype/payment_reconciliation/payment_reconciliation.py
@@ -141,6 +141,7 @@ 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(" | ")