mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 21:29:11 +00:00
fix(regional): removed payment schedule validation in sales invoice for italy (#45852)
This commit is contained in:
@@ -332,9 +332,6 @@ def sales_invoice_on_submit(doc, method):
|
||||
]:
|
||||
return
|
||||
|
||||
if not len(doc.payment_schedule):
|
||||
frappe.throw(_("Please set the Payment Schedule"), title=_("E-Invoicing Information Missing"))
|
||||
else:
|
||||
for schedule in doc.payment_schedule:
|
||||
if not schedule.mode_of_payment:
|
||||
frappe.throw(
|
||||
|
||||
Reference in New Issue
Block a user