mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 20:29:09 +00:00
Merge pull request #24716 from pateljannat/issue-custom-buttons
fix: custom buttons in issue
This commit is contained in:
@@ -49,8 +49,8 @@ frappe.ui.form.on("Issue", {
|
|||||||
},
|
},
|
||||||
|
|
||||||
refresh: function (frm) {
|
refresh: function (frm) {
|
||||||
if (frm.doc.status !== "Closed" && frm.doc.agreement_status === "Ongoing") {
|
if (frm.doc.status !== "Closed") {
|
||||||
if (frm.doc.service_level_agreement) {
|
if (frm.doc.service_level_agreement && frm.doc.agreement_status === "Ongoing") {
|
||||||
frappe.call({
|
frappe.call({
|
||||||
"method": "frappe.client.get",
|
"method": "frappe.client.get",
|
||||||
args: {
|
args: {
|
||||||
|
|||||||
Reference in New Issue
Block a user