ERPNext CRM Error: "Invalid filter: status" and "Invalid filter: company" after removing fields

Don’t remove the standard field, if you want to remove then hide them.
Please read the post: How to delete form custom field from the database with linux terminal in erpnext? - #8 by NCP

And Error from the “Territory Wise Sales” dashboard.