mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-28 17:34:47 +00:00
changes set_only_once field for tabDocField to 1
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
from __future__ import unicode_literals
|
||||||
|
import frappe
|
||||||
|
|
||||||
|
def execute():
|
||||||
|
frappe.db.sql(
|
||||||
|
"""
|
||||||
|
UPDATE `tabDocField`
|
||||||
|
SET set_only_once = 1
|
||||||
|
WHERE fieldname = 'naming_series';
|
||||||
|
"""
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user