chore!: remove activity log feeds (#33294)

- This contains little to no information and practically no one uses this.
- Also causes a lot of problem by adding way too many feeds in activity
  log to the point where activity page doesn't even load.
This commit is contained in:
Ankush Menat
2022-12-12 15:14:30 +05:30
committed by GitHub
parent 593626f502
commit 915e0347b0
13 changed files with 0 additions and 40 deletions

View File

@@ -10,9 +10,6 @@ from erpnext.utilities.transaction_base import TransactionBase
class MaintenanceVisit(TransactionBase):
def get_feed(self):
return _("To {0}").format(self.customer_name)
def validate_serial_no(self):
for d in self.get("purposes"):
if d.serial_no and not frappe.db.exists("Serial No", d.serial_no):