Everything I’ve done so far has been through print-format-builder via the site for customizing invoices. Adding a Custom HTML block and adding my code. When I paste the above and preview, I get {{body}} when the PDF is shown.
Is there a way to add custom print formats in my app so I have access to the full html/jinja files? I’ve looked at the templates in the frappe app but not sure how to proceed with creating the print formats in my app and having them be available in the system.
Yes you can select you app module like module name = your_app name then add this code into hooks.py
fixtures = [{“dt”: “Print Format”, “filters”: [[“name”, “in”, [“your_print_format_name”]]]}] then
try bench export-fixtures
In my case, the issue comes because the duplication in the naming series of Access Log DocType,
So I had solved it by edit the naming series of Access Log from the database (the table name is tabSeries) then edit the current value of the empty name with the latest number of Access Log. ___