One week ago. I created a new print format and I completed its designing and also I saved it properly. Yesterday also I m working on the same print format but today the print format is missing. I not even deleted it. The JSON file of a Print Format is still in directory but the Print format document is missing in print format list. How can I retrieve it. is it is a bug or any issue from the frappe side. Is any chance to recover that Print format. Can’t even understand what’s the problem.
see in this image there is no doc called Rental Agreement because this doc is missing.
you can see the directory has a json file of “rental_agreement” at the right side of the image.
We cleared a cache, We rebuilded and also restarted the app by bench, but no use we didn’t get a print format.
If your document is deleted, you can check it in the Deleted Documents . If the document is present there, you will be able to restore it. Please refer to this Deleted Documents feature in Frappe to recover your print format. If the document isn’t listed there, it may have been accidentally removed, or there could be another issue, but checking there first is a good step towards recovering it
No, That document is not listed in Deleted Document list. what can I do now?. How it will be accidently removed? What’ the issue? Give me some solution.
if JSON of print format exist.
then run
bench --site [sitename] migrate
migrate your site. it will be created if json exist
Yeah, we migrated our site still the document is missing
when creating a print format, we set the Standard as “YES” of a print format it created a file in the location of default_templates.
sir did u find any solution?