Renovation
Search…
Form Custom Button
You can add custom button to form view of a doctype

Basic Usage

1
core.bus.post({
2
id: "form_add_custom_button",
3
data: {
4
label: "Send Customer Email",
5
6
// optional
7
group?: "CRM",
8
9
onclick: (core, doc) => {
10
// do something on click
11
}
12
}
13
)
Copied!
It is pretty straightforward. No extra hidden tricks.
Copy link