fix: Re-add no.of rows split in alert message

(cherry picked from commit 1fc5844025)
This commit is contained in:
marination
2023-11-09 15:01:58 +01:00
committed by Mergify
parent c840f30a20
commit fb19e7f15e

View File

@@ -1564,8 +1564,8 @@ def split_invoices_based_on_payment_terms(outstanding_invoices, company) -> list
continue
frappe.msgprint(
_("Splitting {0} {1} as per Payment Terms").format(
_(entry.voucher_type), frappe.bold(entry.voucher_no)
_("Splitting {0} {1} into {2} rows as per Payment Terms").format(
_(entry.voucher_type), frappe.bold(entry.voucher_no), len(split_rows)
),
alert=True,
)