mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
[patch] ignore validations while creating custom fields for gst via patch
This commit is contained in:
@@ -183,11 +183,11 @@ def make_custom_fields():
|
||||
'Purchase Invoice Item': [hsn_sac_field],
|
||||
'Employee': [
|
||||
dict(fieldname='ifsc_code', label='IFSC Code',
|
||||
fieldtype='Data', insert_after='bank_ac_no', print_hide=1,
|
||||
fieldtype='Data', insert_after='bank_ac_no', print_hide=1,
|
||||
depends_on='eval:doc.salary_mode == "Bank"') ]
|
||||
}
|
||||
|
||||
create_custom_fields(custom_fields)
|
||||
create_custom_fields(custom_fields, ignore_validate = frappe.flags.in_patch)
|
||||
|
||||
def make_fixtures():
|
||||
docs = [
|
||||
|
||||
Reference in New Issue
Block a user