Sfoglia il codice sorgente

fix: do not explicitly commit

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
version-14
Mohammad Hasnain Mohsin Rajan 4 anni fa
committed by GitHub
parent
commit
730bcc8c03
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. +0
    -1
      frappe/core/doctype/document_naming_rule/document_naming_rule.py

+ 0
- 1
frappe/core/doctype/document_naming_rule/document_naming_rule.py Vedi File

@@ -35,4 +35,3 @@ class DocumentNamingRule(Document):
def update_current(name, new_counter):
frappe.only_for('System Manager')
frappe.db.set_value('Document Naming Rule', name, 'counter', new_counter)
frappe.db.commit()

Caricamento…
Annulla
Salva