fix: update subscription details patch

(cherry picked from commit c7b1379a7f)
This commit is contained in:
l0gesh29
2025-07-23 15:46:08 +05:30
committed by Mergify
parent c086f43964
commit ebda396518
2 changed files with 3 additions and 2 deletions

View File

@@ -320,7 +320,7 @@ erpnext.patches.v14_0.set_period_start_end_date_in_pcv
erpnext.patches.v14_0.update_closing_balances #20-12-2024 erpnext.patches.v14_0.update_closing_balances #20-12-2024
execute:frappe.db.set_single_value("Accounts Settings", "merge_similar_account_heads", 0) execute:frappe.db.set_single_value("Accounts Settings", "merge_similar_account_heads", 0)
erpnext.patches.v14_0.update_reference_type_in_journal_entry_accounts erpnext.patches.v14_0.update_reference_type_in_journal_entry_accounts
erpnext.patches.v14_0.update_subscription_details erpnext.patches.v14_0.update_subscription_details # 23-07-2025
execute:frappe.delete_doc("Report", "Tax Detail", force=True) execute:frappe.delete_doc("Report", "Tax Detail", force=True)
erpnext.patches.v15_0.enable_all_leads erpnext.patches.v15_0.enable_all_leads
erpnext.patches.v14_0.update_company_in_ldc erpnext.patches.v14_0.update_company_in_ldc

View File

@@ -12,6 +12,7 @@ def execute():
subscription_invoice.invoice, subscription_invoice.invoice,
"subscription", "subscription",
subscription_invoice.parent, subscription_invoice.parent,
update_modified=False,
) )
frappe.delete_doc_if_exists("DocType", "Subscription Invoice") frappe.delete_doc_if_exists("DocType", "Subscription Invoice", force=1)