doctype was not reloaded to pickup changes (#14371)
This commit is contained in:
parent
50ae6b891b
commit
209d8f36f7
@ -6,6 +6,7 @@ def execute():
|
||||
frappe.reload_doc('erpnext_integrations', 'doctype', 'shopify_settings')
|
||||
frappe.reload_doc('erpnext_integrations', 'doctype', 'shopify_tax_account')
|
||||
frappe.reload_doc('erpnext_integrations', 'doctype', 'shopify_log')
|
||||
frappe.reload_doc('erpnext_integrations', 'doctype', 'shopify_webhook_detail')
|
||||
|
||||
if 'erpnext_shopify' in frappe.get_installed_apps():
|
||||
remove_from_installed_apps('erpnext_shopify')
|
||||
|
@ -1,6 +1,7 @@
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
frappe.reload_doc("non_profit", "doctype", "member")
|
||||
old_named_members = frappe.get_all("Member", filters = {"name": ("not like", "MEM-%")})
|
||||
correctly_named_members = frappe.get_all("Member", filters = {"name": ("like", "MEM-%")})
|
||||
current_index = len(correctly_named_members)
|
||||
|
Loading…
x
Reference in New Issue
Block a user