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

@@ -15,9 +15,6 @@ from erpnext.setup.doctype.holiday_list.holiday_list import is_holiday
class Project(Document):
def get_feed(self):
return "{0}: {1}".format(_(self.status), frappe.safe_decode(self.project_name))
def onload(self):
self.set_onload(
"activity_summary",

View File

@@ -20,9 +20,6 @@ class CircularReferenceError(frappe.ValidationError):
class Task(NestedSet):
nsm_parent_field = "parent_task"
def get_feed(self):
return "{0}: {1}".format(_(self.status), self.subject)
def get_customer_details(self):
cust = frappe.db.sql("select customer_name from `tabCustomer` where name=%s", self.customer)
if cust: