浏览代码

fix: do not explicitly commit

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
version-14
Mohammad Hasnain Mohsin Rajan 4 年前
committed by GitHub
父节点
当前提交
730bcc8c03
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 0 次插入1 次删除
  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 查看文件

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

正在加载...
取消
保存