IntegrityError: (1062, "Duplicate entry 'Sales Taxes and Charges Template' for key 'PRIMARY'")

How are deleting the “Sales taxes and Charges Template”? You need to delete from tabDocType and drop the table.