Error for subscriptions

I have subscriptions but they are not processing correctly.
I get an e-mail that the subscription has failed and in the error log I see the following:

Traceback (most recent call last):
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/accounts/doctype/subscription/subscription.py", line 129, in create_documents
    doc = make_new_document(data, schedule_date)
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/accounts/doctype/subscription/subscription.py", line 166, in make_new_document
    new_doc.insert(ignore_permissions=True)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 219, in insert
    self._validate()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 440, in _validate
    self._validate_mandatory()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 708, in _validate_mandatory
    name=self.name))
MandatoryError: [Sales Invoice, SINV-00056]: select_print_heading

I don’t really understand where this select_print_heading is coming from, because I removed it from my Print Format just to be sure.

Somebody got similar issues or a solution?

1 Like