|
|
@ -400,6 +400,10 @@ def procedure_do(variant,language,system): |
|
|
|
|
|
|
|
@frappe.whitelist() |
|
|
|
def set_procedure_false(): |
|
|
|
frappe.db.sql('''update `tabSystem Mapping_Sub System` set procedure_is_published=0; |
|
|
|
''') |
|
|
|
frappe.db.commit() |
|
|
|
try: |
|
|
|
frappe.db.sql('''update `tabSystem Mapping_Sub System` set procedure_is_published=0; |
|
|
|
''') |
|
|
|
frappe.db.commit() |
|
|
|
return 1 |
|
|
|
except Exception as e: |
|
|
|
return e |