Update rename_salary_components.py

This commit is contained in:
Nabin Hait
2016-07-06 13:11:51 +05:30
committed by GitHub
parent be81522958
commit 7796c2f0c0

View File

@@ -70,7 +70,7 @@ def execute():
"Earning Type": ["earning_name", "description"], "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"] 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(): for old_fieldname, new_fieldname in cols.items():
update_property_setters(new_dt, old_fieldname, new_fieldname) update_property_setters(new_dt, old_fieldname, new_fieldname)