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

This commit is contained in:
marination 2023-11-09 15:01:58 +01:00
parent 4b4b176fcf
commit 1fc5844025

View File

@ -1699,8 +1699,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,
)