fix: cannot delete pos page if linked with desk page (#22993)
* fix: cannot delete pos page if linked with desk page * fix: replace pos page links with point-of-sale page Co-authored-by: gavin <gavin18d@gmail.com>
This commit is contained in:
parent
dc84633860
commit
ec6a97fb6a
@ -697,7 +697,7 @@ erpnext.patches.v12_0.update_bom_in_so_mr
|
||||
execute:frappe.delete_doc("Report", "Department Analytics")
|
||||
execute:frappe.rename_doc("Desk Page", "Loan Management", "Loan", force=True)
|
||||
erpnext.patches.v12_0.update_uom_conversion_factor
|
||||
execute:frappe.delete_doc_if_exists("Page", "pos") #29-05-2020
|
||||
erpnext.patches.v13_0.replace_pos_page_with_point_of_sale_page
|
||||
erpnext.patches.v13_0.delete_old_purchase_reports
|
||||
erpnext.patches.v12_0.set_italian_import_supplier_invoice_permissions
|
||||
erpnext.patches.v13_0.update_subscription
|
||||
|
@ -0,0 +1,6 @@
|
||||
from __future__ import unicode_literals
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
if frappe.db.exists("Page", "point-of-sale"):
|
||||
frappe.rename_doc("Page", "pos", "point-of-sale", 1, 1)
|
Loading…
x
Reference in New Issue
Block a user