mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
This commit is contained in:
@@ -109,21 +109,9 @@ frappe.ui.form.on("Supplier", {
|
|||||||
__("View")
|
__("View")
|
||||||
);
|
);
|
||||||
|
|
||||||
frm.add_custom_button(
|
frm.add_custom_button(__("Bank Account"), () => frm.make_methods["Bank Account"](), __("Create"));
|
||||||
__("Bank Account"),
|
|
||||||
function () {
|
|
||||||
erpnext.utils.make_bank_account(frm.doc.doctype, frm.doc.name);
|
|
||||||
},
|
|
||||||
__("Create")
|
|
||||||
);
|
|
||||||
|
|
||||||
frm.add_custom_button(
|
frm.add_custom_button(__("Pricing Rule"), () => frm.make_methods["Pricing Rule"](), __("Create"));
|
||||||
__("Pricing Rule"),
|
|
||||||
function () {
|
|
||||||
erpnext.utils.make_pricing_rule(frm.doc.doctype, frm.doc.name);
|
|
||||||
},
|
|
||||||
__("Create")
|
|
||||||
);
|
|
||||||
|
|
||||||
frm.add_custom_button(
|
frm.add_custom_button(
|
||||||
__("Get Supplier Group Details"),
|
__("Get Supplier Group Details"),
|
||||||
|
|||||||
Reference in New Issue
Block a user