When using the Print Format Builder is there a way to customize how the Items Table prints out?
I have found the Edit Columns button/function, but that doesn’t do what I’m wanting to do. We have a specific format that we’re trying to get, rather than the information be in columns in the printout we want something like:
I have a similar issue and would like to use custom HTML in the table section in the Print Format Builder . Can you share some sample code of how this was acheived.
Rishab, if you dont mind can you please send me the code to build table using jinja {% for %} to loop over doc.items property? it will be a great help to create Quotation format.
Traceback (innermost last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py", line 25, in render
data = render_page_by_language(path)
File "/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py", line 91, in render_page_by_language
return render_page(path)
File "/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py", line 113, in render_page
return build(path)
File "/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py", line 122, in build
return build_method(path)
File "/home/frappe/frappe-bench/apps/frappe/frappe/website/render.py", line 138, in build_page
context = get_context(path)
File "/home/frappe/frappe-bench/apps/frappe/frappe/website/context.py", line 31, in get_context
context = build_context(context)
File "/home/frappe/frappe-bench/apps/frappe/frappe/website/context.py", line 94, in build_context
context.data = build_template(context)
File "/home/frappe/frappe-bench/apps/frappe/frappe/website/template.py", line 28, in build_template
add_index(out, context)
File "/home/frappe/frappe-bench/apps/frappe/frappe/website/template.py", line 133, in add_index
if next_item.name[0]!="/":
TypeError: 'NoneType' object has no attribute '__getitem__'