Browse Source

Delete procedure

master
venkataakhil 1 year ago
parent
commit
811c8ce1fb
  1. 792
      smart_service/apis/publish_api.py
  2. 5
      smart_service/apis/support.py

792
smart_service/apis/publish_api.py

File diff suppressed because it is too large

5
smart_service/apis/support.py

@ -380,3 +380,8 @@ def get_single_star_data():
count = frappe.db.sql(''' count = frappe.db.sql('''
select count(*) from tabProcedure_Details where content like "%*%";''', as_dict=1) select count(*) from tabProcedure_Details where content like "%*%";''', as_dict=1)
print(count) print(count)
@frappe.whitelist(allow_guest=1)
def delete_procedure():
frappe.db.sql('''delete from _a9b9faaf89312ce4.tabProcedure where name = "THAR.AX-O-0007-Front Axle Overhual-en";''')

Loading…
Cancel
Save