diff --git a/horilla_automations/methods/methods.py b/horilla_automations/methods/methods.py index ecd526617..a2812ae3e 100644 --- a/horilla_automations/methods/methods.py +++ b/horilla_automations/methods/methods.py @@ -93,10 +93,7 @@ def generate_choices(model_path): f"{field_tuple[1].verbose_name.capitalize().replace(' id','')} / Reporting Manager (Template context) ", ) ) - print(model_path) - print( - "_______________________________________________________________________________________" - ) + if model_class == Employee: # reporting manager mail to all_mail_to_field.append(