Browse Source

update method

master
venkataakhil 1 year ago
parent
commit
b8cac8ebc1
  1. 11
      smart_service/apis/support.py

11
smart_service/apis/support.py

@ -466,3 +466,14 @@ def remove_html_tags():
return True, 'Done'
except Exception as e:
return False,e
@frappe.whitelist()
def query_update():
frappe.db.sql("""
update `tabSystem Mapping_Sub System` set procedure_is_published = "0" where parent = "THAR.AX-0001-hi-SM"
""")
frappe.db.sql("""
update `tabSystem Mapping_System Assets`set published = "0" where parent = "THAR.AX-0001-hi-SM"
""")
Loading…
Cancel
Save