From 7796c2f0c02db461bbb83b30f7217bdff4ce4140 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 6 Jul 2016 13:11:51 +0530 Subject: [PATCH] Update rename_salary_components.py --- erpnext/patches/v7_0/rename_salary_components.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/patches/v7_0/rename_salary_components.py b/erpnext/patches/v7_0/rename_salary_components.py index 3b57ef953ba..ecf2faf34af 100644 --- a/erpnext/patches/v7_0/rename_salary_components.py +++ b/erpnext/patches/v7_0/rename_salary_components.py @@ -70,7 +70,7 @@ def execute(): "Earning Type": ["earning_name", "description"], } - standard_cols_de = standard_cols + ["_user_tags"] + standard_cols_de = standard_cols target_cols = standard_cols_de + ["salary_component", "description"] @@ -142,4 +142,4 @@ def update_property_setters_and_custom_fields(new_dt, dt_cols): for old_fieldname, new_fieldname in cols.items(): - update_property_setters(new_dt, old_fieldname, new_fieldname) \ No newline at end of file + update_property_setters(new_dt, old_fieldname, new_fieldname)