mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 04:09:11 +00:00
fix: Patch
This commit is contained in:
@@ -10,6 +10,7 @@ def execute():
|
|||||||
|
|
||||||
field = frappe.db.get_value("Custom Field", {"dt": "Sales Invoice", "fieldname": "ewaybill"})
|
field = frappe.db.get_value("Custom Field", {"dt": "Sales Invoice", "fieldname": "ewaybill"})
|
||||||
|
|
||||||
|
if field:
|
||||||
ewaybill_field = frappe.get_doc("Custom Field", field)
|
ewaybill_field = frappe.get_doc("Custom Field", field)
|
||||||
|
|
||||||
ewaybill_field.flags.ignore_validate = True
|
ewaybill_field.flags.ignore_validate = True
|
||||||
|
|||||||
Reference in New Issue
Block a user