Merge pull request #22471 from niraj2477/add-print-shortcut
This commit is contained in:
commit
004789b599
1 changed files with 5 additions and 0 deletions
|
|
@ -176,6 +176,11 @@ frappe.ui.form.Form = class FrappeForm {
|
|||
page: this.page,
|
||||
description: __("Redo last action"),
|
||||
});
|
||||
frappe.ui.keys.add_shortcut({
|
||||
shortcut: "ctrl+p",
|
||||
action: () => this.print_doc(),
|
||||
description: __("Print document"),
|
||||
});
|
||||
|
||||
let grid_shortcut_keys = [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue