Fixed allow_zero_valuation_rate patch

This commit is contained in:
Nabin Hait 2017-04-20 08:45:09 +05:30
parent 00bec1c272
commit e42fb32f6f

View File

@ -9,4 +9,5 @@ def execute():
for doctype in doc_list:
frappe.reload_doctype(doctype)
if "is_sample_item" in frappe.db.get_table_columns(doctype):
rename_field(doctype, "is_sample_item", "allow_zero_valuation_rate")