Django-CRM icon indicating copy to clipboard operation
Django-CRM copied to clipboard

Saving any form doesn't redirect to the list view

Open ANANYANAYAN opened this issue 4 years ago • 1 comments

I am trying to setup the CRM locally. Saving any form doesn't redirect to the list view of the module.

ANANYANAYAN avatar Oct 01 '20 16:10 ANANYANAYAN

Update: I figured out why it was happening. For the below code block

        send_email_to_assigned_user.delay(
            recipients,
            lead_obj.id,
            domain=current_site.domain,
            protocol=request.scheme,
        )

I think it sends email to the assigned user. However the assign user is not mandatory. so shouldn't it be under an if condition?

ANANYANAYAN avatar Oct 01 '20 17:10 ANANYANAYAN