feat: Add print shortcut
This commit is contained in:
parent
c4afd035e8
commit
b7e35e558e
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