message fix
This commit is contained in:
parent
c34329284b
commit
4859b48c43
@ -18,7 +18,7 @@ def make_gl_entries(gl_map, cancel=False, adv_adj=False, merge_entries=True,
|
|||||||
if gl_map and len(gl_map) > 1:
|
if gl_map and len(gl_map) > 1:
|
||||||
save_entries(gl_map, adv_adj, update_outstanding)
|
save_entries(gl_map, adv_adj, update_outstanding)
|
||||||
else:
|
else:
|
||||||
frappe.throw(_("No general ledger entries. You might have selected wrong account head"))
|
frappe.throw(_("Incorrect number of General Ledger Entries found. You might have selected a wrong Account in the transaction."))
|
||||||
else:
|
else:
|
||||||
delete_gl_entries(gl_map, adv_adj=adv_adj, update_outstanding=update_outstanding)
|
delete_gl_entries(gl_map, adv_adj=adv_adj, update_outstanding=update_outstanding)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user