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

@@ -25,10 +25,6 @@ class BuyingController(SubcontractingController):
def __setup__(self):
self.flags.ignore_permlevel_for_fields = ["buying_price_list", "price_list_currency"]
def get_feed(self):
if self.get("supplier_name"):
return _("From {0} | {1} {2}").format(self.supplier_name, self.currency, self.grand_total)
def validate(self):
super(BuyingController, self).validate()
if getattr(self, "supplier", None) and not self.supplier_name: