Unchecking Custom Format removes the custom print format. What is the use then? It prints standard template.
Same issue here… almost a year later in April/May 2021 with newest Version 13.
Seems like a pretty big flaw. We are simply trying to create a new “Custom” Purchase Order printing template (print format) that includes letterhead. When printing the PO, there is a checkbox to include letterhead. We have a letterhead, and it is set to default. As the OP suggests a year ago, it is only included on the “Standard” template, which is also not visible/modifiable in the print format lists.
We ran into this problem, search the forums for answer and find this year old (unresolved) thread.
Maybe now in 2021 there is a better understanding of the problem and solution? @smino ?
suggestion from @Muzzy above works…
But make sure you must select “with letterhead” when printing…
so it will pass the default letterhead to {{ letter_head }}
But footer html of letter head is not visible. How to show that one ?? That is coming with standard print format but not with others . Any solution ??
Use below code to solve the problem:
For header
<div id="header-html" >
<div class="print-heading">
{% if letter_head %}
<div class="letter-head">{{ letter_head }}</div>
{% endif %}
</div>
</div>
for footer
<div id="footer-html" >
<div class="print-footer">
{% if footer %}
<div class="letter-head">{{ footer }}</div>
{% endif %}
</div>
</div>