mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-19 02:04:50 +00:00
chore: used frappe.delete_doc_if_exists
This commit is contained in:
@@ -5,4 +5,4 @@ from __future__ import unicode_literals
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
frappe.db.sql(""" Delete from `tabPage` where name='bom-browser' """)
|
||||
frappe.delete_doc_if_exists('Page', 'bom-browser')
|
||||
Reference in New Issue
Block a user