chore: remove duplicate call of access log

This commit is contained in:
Ejaaz Khan 2025-04-14 16:45:54 +05:30
parent 65fd87a198
commit 4a365b3fc4

View file

@ -72,10 +72,6 @@ def get_context(context) -> PrintContext:
print_format = get_print_format_doc(None, meta=meta)
make_access_log(
doctype=frappe.form_dict.doctype, document=frappe.form_dict.name, file_type="PDF", method="Print"
)
if print_format and print_format.get("print_format_builder_beta"):
from frappe.utils.weasyprint import get_html