fix: payment ledger voucher seperator row currencies

(cherry picked from commit c03f1c25cf)
This commit is contained in:
Devin Slauenwhite
2025-08-02 12:29:40 -04:00
committed by Mergify
parent dc4b236951
commit 5b0486ca26

View File

@@ -87,7 +87,12 @@ class PaymentLedger:
voucher_data.append(entry)
# empty row
voucher_data.append(frappe._dict())
voucher_data.append(
frappe._dict(
currency=voucher_data[0].currency,
company=voucher_data[0].company,
)
)
self.data.extend(voucher_data)
def build_conditions(self):