fix: Patch
This commit is contained in:
parent
6dd5f74671
commit
703fc08467
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user