mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-17 13:55:10 +00:00
fix: Ignore mandatory fields in opening invoice via Opening Invoice Creation tool (#24821)
This commit is contained in:
@@ -198,6 +198,7 @@ def start_import(invoices):
|
||||
try:
|
||||
publish(idx, len(invoices), d.doctype)
|
||||
doc = frappe.get_doc(d)
|
||||
doc.flags.ignore_mandatory = True
|
||||
doc.insert()
|
||||
doc.submit()
|
||||
frappe.db.commit()
|
||||
|
||||
Reference in New Issue
Block a user