[fix] document_flow.js
This commit is contained in:
parent
f39dd3bef4
commit
f609654e82
1 changed files with 3 additions and 0 deletions
|
|
@ -20,6 +20,9 @@ frappe.ui.form.DocumentFlow = Class.extend({
|
|||
render: function() {
|
||||
var me = this;
|
||||
var module = frappe.get_meta(this.frm.doctype).module
|
||||
if (!frappe.document_flow[module]) {
|
||||
return;
|
||||
}
|
||||
var doctypes = frappe.document_flow[module][this.frm.doctype];
|
||||
if (!doctypes) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue