Suscription error subject

Hello everyone!

I have de next error whit susbscription.

Traceback (most recent call last):
  File "/home/erp/erpnext/apps/erpnext/erpnext/accounts/doctype/subscription/", line 132, in create_documents
    send_notification(doc, data, print_format=print_format)
  File "/home/erp/erpnext/apps/erpnext/erpnext/accounts/doctype/subscription/", line 250, in send_notification
    subject=subject, message=message, attachments=attachments)
UnboundLocalError: local variable 'subject' referenced before assignment

I have a variable {doc.customer} in the subject.

In case this is a issue i do post in github.



Works fine in my test account. No error message.

Thanks Umair, I suspect that it’s because I was posting the same email account with which the mail is being sent (I did it to let me know when an OV is generated)