mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 02:01:21 +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:
@@ -18,9 +18,6 @@ from frappe.utils.user import is_website_user
|
||||
|
||||
|
||||
class Issue(Document):
|
||||
def get_feed(self):
|
||||
return "{0}: {1}".format(_(self.status), self.subject)
|
||||
|
||||
def validate(self):
|
||||
if self.is_new() and self.via_customer_portal:
|
||||
self.flags.create_communication = True
|
||||
|
||||
@@ -10,9 +10,6 @@ from erpnext.utilities.transaction_base import TransactionBase
|
||||
|
||||
|
||||
class WarrantyClaim(TransactionBase):
|
||||
def get_feed(self):
|
||||
return _("{0}: From {1}").format(self.status, self.customer_name)
|
||||
|
||||
def validate(self):
|
||||
if session["user"] != "Guest" and not self.customer:
|
||||
frappe.throw(_("Customer is required"))
|
||||
|
||||
Reference in New Issue
Block a user