You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
unfortunately, I can not add custom "Print Format". As standard user I got error during saving from /app/print-format-builder/
frappe.exceptions.DoesNotExistError: DocType None not found
As an Adminstrator I got this error:
File "apps/frappe/frappe/model/document.py", line 75, in get_doc
raise ValueError("First non keyword argument must be a string or dict")
ValueError: First non keyword argument must be a string or dict
If I try system console for inserting I got this error:
Traceback (most recent call last):
File "apps/frappe/frappe/desk/doctype/system_console/system_console.py", line 32, in run
safe_exec(self.console, script_filename="System Console")
File "apps/frappe/frappe/utils/safe_exec.py", line 100, in safe_exec
exec(
File "<serverscript>: system_console", line 4, in <module>
File "apps/frappe/frappe/model/document.py", line 292, in insert
self._validate()
File "apps/frappe/frappe/model/document.py", line 574, in _validate
self._validate_mandatory()
File "apps/frappe/frappe/model/document.py", line 911, in _validate_mandatory
raise frappe.MandatoryError(
frappe.exceptions.MandatoryError: [Print Format, 6c2664e7ca]: parent, parenttype
The last weird thing is "Print Format" form view, it is almost blank:
Finally, I have found the issue.
System let me customize "Print Format" Form. I remember I wanted allow "Allow Import". I check the checkbox and press "Save".
It is weird but it was visible and in function, because it generated these property setters:
that screw up the form view and the other functions.
Description of the issue
Hello,
unfortunately, I can not add custom "Print Format". As standard user I got error during saving from /app/print-format-builder/
frappe.exceptions.DoesNotExistError: DocType None not found
As an Adminstrator I got this error:
If I try system console for inserting I got this error:
The last weird thing is "Print Format" form view, it is almost blank:
We are running on the frappecloud.
App versions:
I have tried update apps and site and migrate, nothing helped :-(
Thank you.
Jiri Sir
The text was updated successfully, but these errors were encountered: