mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-04 22:18:27 +00:00
fix(pe): show split alert only on splitting
(cherry picked from commit 96b13c59c1)
This commit is contained in:
@@ -1566,6 +1566,7 @@ def split_invoices_based_on_payment_terms(outstanding_invoices, company) -> list
|
|||||||
if not split_rows:
|
if not split_rows:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if len(split_rows) > 1:
|
||||||
frappe.msgprint(
|
frappe.msgprint(
|
||||||
_("Splitting {0} {1} into {2} rows as per Payment Terms").format(
|
_("Splitting {0} {1} into {2} rows as per Payment Terms").format(
|
||||||
_(entry.voucher_type), frappe.bold(entry.voucher_no), len(split_rows)
|
_(entry.voucher_type), frappe.bold(entry.voucher_no), len(split_rows)
|
||||||
|
|||||||
Reference in New Issue
Block a user