Ver código fonte
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 anos atrás
committed by
GitHub
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados
ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com
1 adições e
1 exclusões
-
frappe/core/doctype/document_naming_rule/document_naming_rule.js
|
|
@@ -4,7 +4,7 @@ |
|
|
|
frappe.ui.form.on('Document Naming Rule', { |
|
|
|
refresh: function(frm) { |
|
|
|
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) => { |
|
|
|
// update the select field options with fieldnames |
|
|
|