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:
commit
794ee3ddd7
1 changed files with 4 additions and 0 deletions
|
|
@ -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")
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue