@ -37,7 +37,7 @@ class Procedure(Document):
if not self.is_new():
frappe.db.sql(
f"""UPDATE `tabSystem Mapping_Sub System` set procedure_is_published=0 where procedure='{self.name}';""")
f"""UPDATE `tabSystem Mapping_Sub System` set procedure_is_published=0 where `procedure`='{self.name}';""")
frappe.db.commit()