[fix] Maintenance Scheduler periodicity validation
diff --git a/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.py b/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.py
index 4b06fe0..a739651 100644
--- a/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.py
+++ b/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.py
@@ -134,7 +134,7 @@
 
 	def validate_dates_with_periodicity(self):
 		for d in self.get("item_maintenance_detail"):
-			if d.start_date and d.end_date and d.periodicity:
+			if d.start_date and d.end_date and d.periodicity and d.periodicity!="Random":
 				date_diff = (getdate(d.end_date) - getdate(d.start_date)).days + 1
 				days_in_period = {
 					"Weekly": 7,