mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 03:01:22 +00:00
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:
@@ -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",
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user