Skip to content

Commit

Permalink
fix: reqd first name in contact
Browse files Browse the repository at this point in the history
  • Loading branch information
sibikumarkuppusamy committed Nov 21, 2024
1 parent 2818f2b commit 8e5a167
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion frappe/contacts/doctype/contact/contact.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
"in_global_search": 1,
"label": "First Name",
"oldfieldname": "first_name",
"oldfieldtype": "Data"
"oldfieldtype": "Data",
"reqd": 1
},
{
"bold": 1,
Expand Down
2 changes: 1 addition & 1 deletion frappe/contacts/doctype/contact/contact.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Contact(Document):
designation: DF.Data | None
email_id: DF.Data | None
email_ids: DF.Table[ContactEmail]
first_name: DF.Data | None
first_name: DF.Data
full_name: DF.Data | None
gender: DF.Link | None
google_contacts: DF.Link | None
Expand Down

0 comments on commit 8e5a167

Please sign in to comment.