Merge pull request #36128 from KerollesFathy/fix-print-settings

fix: reset print format in settings to prevent carryover to next print
This commit is contained in:
Ejaaz Khan 2026-01-21 16:33:12 +05:30 committed by GitHub
commit 794ee3ddd7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -104,6 +104,10 @@ frappe.ui.get_print_settings = function (
}
callback(settings);
// clean up print format to avoid affecting next print
if (settings.print_format) {
settings.print_format = null;
}
},
__("Print Settings")
);