浏览代码

[fix] imports

version-14
Rushabh Mehta 10 年前
父节点
当前提交
f2a72aa39c
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. +8
    -0
      frappe/model/utils/rename_field.py

+ 8
- 0
frappe/model/utils/rename_field.py 查看文件

@@ -1,3 +1,11 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt

from __future__ import unicode_literals

import frappe
import json

def rename_field(doctype, old_fieldname, new_fieldname):
"""This functions assumes that doctype is already synced"""



正在加载...
取消
保存