Bläddra i källkod

fix: do not show counter on unsaved forms

version-14
hasnain2808 4 år sedan
förälder
incheckning
ed1a9e1559
1 ändrade filer med 1 tillägg och 1 borttagningar
  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 Visa fil

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


Laddar…
Avbryt
Spara