[hotfix] Payment Reconciliation Invoice Type
This commit is contained in:
parent
673887455f
commit
e2c3d40b57
@ -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(" | ")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user