fix: update print_settings (#35878)

This commit is contained in:
Kerolles Fathy 2026-01-13 08:03:02 +02:00 committed by GitHub
parent 22c8f3ced6
commit be0815a495
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -88,7 +88,7 @@ frappe.ui.get_print_settings = function (
return frappe.prompt(
columns,
function (settings) {
settings = $.extend(print_settings, settings);
settings = $.extend({}, print_settings, settings);
if (!settings.with_letter_head) {
settings.letter_head = null;