From 1401e3f679de58c8313feb144ea8571d7c86809c Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 17 Jul 2015 14:43:19 +0530 Subject: [PATCH] Update rename_total_fields.py --- erpnext/patches/v5_0/rename_total_fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/patches/v5_0/rename_total_fields.py b/erpnext/patches/v5_0/rename_total_fields.py index cf95caa708a..93ab852feba 100644 --- a/erpnext/patches/v5_0/rename_total_fields.py +++ b/erpnext/patches/v5_0/rename_total_fields.py @@ -3,7 +3,7 @@ from __future__ import unicode_literals import frappe -from frappe.model import rename_field +from frappe.model.utils import rename_field from frappe.modules import scrub, get_doctype_module selling_doctypes = ("Quotation", "Sales Order", "Delivery Note", "Sales Invoice")