feat: added erpnext doctype via hooks (#16930)

diff --git a/erpnext/hooks.py b/erpnext/hooks.py
index 942806e..c1ac407 100644
--- a/erpnext/hooks.py
+++ b/erpnext/hooks.py
@@ -322,3 +322,15 @@
 		'erpnext.controllers.accounts_controller.validate_regional': 'erpnext.regional.italy.utils.sales_invoice_validate',
 	}
 }
+user_privacy_documents = [
+	{
+		'doctype': 'Lead',
+		'match_field': 'email_id',
+		'personal_fields': ['phone', 'mobile_no', 'fax', 'website', 'lead_name'],
+	},
+	{
+		'doctype': 'Opportunity',
+		'match_field': 'contact_email',
+		'personal_fields': ['contact_mobile', 'contact_display', 'customer_name'],
+	}
+]
\ No newline at end of file