Fixed msgprint of doctype open conflict
This commit is contained in:
parent
f1ff388563
commit
63dbef002c
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ _f.Frm.prototype.check_doctype_conflict = function(docname) {
|
|||
}
|
||||
} else {
|
||||
if (frappe.views.formview.DocType && frappe.views.formview.DocType.frm.opendocs[this.doctype]) {
|
||||
msgprint(__("Cannot open instance when its {0} is open"), ['DocType'])
|
||||
msgprint(__("Cannot open instance when its {0} is open", ['DocType']))
|
||||
throw 'doctype open conflict'
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue