Ver código fonte

[fix] imports

version-14
Rushabh Mehta 10 anos atrás
pai
commit
f2a72aa39c
1 arquivos alterados com 8 adições e 0 exclusões
  1. +8
    -0
      frappe/model/utils/rename_field.py

+ 8
- 0
frappe/model/utils/rename_field.py Ver arquivo

@@ -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): def rename_field(doctype, old_fieldname, new_fieldname):
"""This functions assumes that doctype is already synced""" """This functions assumes that doctype is already synced"""




Carregando…
Cancelar
Salvar