瀏覽代碼

Update frappe/core/doctype/document_naming_rule/document_naming_rule.js

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
version-14
Mohammad Hasnain Mohsin Rajan 4 年之前
committed by GitHub
父節點
當前提交
3f056d147d
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      frappe/core/doctype/document_naming_rule/document_naming_rule.js

+ 1
- 1
frappe/core/doctype/document_naming_rule/document_naming_rule.js 查看文件

@@ -4,7 +4,7 @@
frappe.ui.form.on('Document Naming Rule', { frappe.ui.form.on('Document Naming Rule', {
refresh: function(frm) { refresh: function(frm) {
frm.trigger('document_type'); frm.trigger('document_type');
if (!frm.doc.__islocal) frm.trigger("add_button");
if (!frm.doc.__islocal) frm.trigger("add_update_counter_button");
}, },
document_type: (frm) => { document_type: (frm) => {
// update the select field options with fieldnames // update the select field options with fieldnames


Loading…
取消
儲存