From 870c92f7ea43218803ad27d89e6251b48fd968b2 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Wed, 28 Feb 2024 13:50:48 +0530 Subject: [PATCH] fix: Use current language in attachment prints --- frappe/core/doctype/communication/mixins.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frappe/core/doctype/communication/mixins.py b/frappe/core/doctype/communication/mixins.py index 5735895652..65552f0ad4 100644 --- a/frappe/core/doctype/communication/mixins.py +++ b/frappe/core/doctype/communication/mixins.py @@ -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)