diff --git a/smart_service/transactions/doctype/procedure/procedure.py b/smart_service/transactions/doctype/procedure/procedure.py index fd08e0f..d15b0dd 100644 --- a/smart_service/transactions/doctype/procedure/procedure.py +++ b/smart_service/transactions/doctype/procedure/procedure.py @@ -239,7 +239,7 @@ def update_system_id(name): current_db_name, sm, table.temp_cnt), as_dict=True) if sys_procedure: frappe.msgprint("sys_procedure" + str(sys_procedure[0]['procedure']) + str(sys_procedure[0]['sub_system_id'])) - if table.temp_cnt == sys_procedure[0]['procedure']: + if str(table.temp_cnt) == str(sys_procedure[0]['procedure']): frappe.msgprint("SSSS" + str(sys_procedure[0]['system_id'])) sys_id = doc.variant_mapping + ',' + \ str(sys_procedure[0]['system_id']) + ',' + \