瀏覽代碼

[fix] document_flow.js

version-14
Rushabh Mehta 9 年之前
父節點
當前提交
f609654e82
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. +3
    -0
      frappe/public/js/frappe/form/document_flow.js

+ 3
- 0
frappe/public/js/frappe/form/document_flow.js 查看文件

@@ -20,6 +20,9 @@ frappe.ui.form.DocumentFlow = Class.extend({
render: function() { render: function() {
var me = this; var me = this;
var module = frappe.get_meta(this.frm.doctype).module var module = frappe.get_meta(this.frm.doctype).module
if (!frappe.document_flow[module]) {
return;
}
var doctypes = frappe.document_flow[module][this.frm.doctype]; var doctypes = frappe.document_flow[module][this.frm.doctype];
if (!doctypes) { if (!doctypes) {
return; return;


Loading…
取消
儲存