feat: letterhead param for attach_print
This commit is contained in:
parent
44a3d9d69e
commit
b1a2c31fe8
1 changed files with 2 additions and 0 deletions
|
|
@ -2078,6 +2078,7 @@ def attach_print(
|
|||
lang=None,
|
||||
print_letterhead=True,
|
||||
password=None,
|
||||
letterhead=None,
|
||||
):
|
||||
from frappe.translate import print_language
|
||||
from frappe.utils import scrub_urls
|
||||
|
|
@ -2090,6 +2091,7 @@ def attach_print(
|
|||
style=style,
|
||||
doc=doc,
|
||||
no_letterhead=not print_letterhead,
|
||||
letterhead=letterhead,
|
||||
password=password,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue