fix: Patch

This commit is contained in:
deepeshgarg007 2019-07-18 18:14:12 +05:30
parent 6dd5f74671
commit 703fc08467

View File

@ -10,6 +10,7 @@ def execute():
field = frappe.db.get_value("Custom Field", {"dt": "Sales Invoice", "fieldname": "ewaybill"})
if field:
ewaybill_field = frappe.get_doc("Custom Field", field)
ewaybill_field.flags.ignore_validate = True