Merge pull request #25128 from ankush/lang_print_format

fix: Use current language in attachment prints
This commit is contained in:
Ankush Menat 2024-02-28 14:03:06 +05:30 committed by GitHub
commit 91d10ffb31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -194,6 +194,7 @@ class CommunicationEmailMixin:
"print_format_attachment": 1,
"doctype": self.reference_doctype,
"name": self.reference_name,
"lang": frappe.local.lang,
}
final_attachments.append(d)