[fix] document_flow.js

This commit is contained in:
Rushabh Mehta 2016-06-08 11:30:48 +05:30
parent f39dd3bef4
commit f609654e82

View file

@ -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;