Browse Source

[fix] imports

version-14
Rushabh Mehta 10 years ago
parent
commit
f2a72aa39c
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      frappe/model/utils/rename_field.py

+ 8
- 0
frappe/model/utils/rename_field.py View File

@@ -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"""



Loading…
Cancel
Save