mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 11:09:17 +00:00
[hotfix] Payment Reconciliation Invoice Type
This commit is contained in:
@@ -141,6 +141,7 @@ class PaymentReconciliation(Document):
|
|||||||
|
|
||||||
def reconcile(self, args):
|
def reconcile(self, args):
|
||||||
for e in self.get('payments'):
|
for e in self.get('payments'):
|
||||||
|
e.invoice_type = None
|
||||||
if e.invoice_number and " | " in e.invoice_number:
|
if e.invoice_number and " | " in e.invoice_number:
|
||||||
e.invoice_type, e.invoice_number = e.invoice_number.split(" | ")
|
e.invoice_type, e.invoice_number = e.invoice_number.split(" | ")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user