mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +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
|
import frappe
|
||||||
|
|
||||||
def execute():
|
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