mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 23:19:20 +00:00
fix: Remove reload doc
This commit is contained in:
@@ -6,9 +6,6 @@ from erpnext.setup.utils import get_exchange_rate
|
|||||||
|
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
frappe.reload_doc('crm', 'doctype', 'opportunity', force=True)
|
|
||||||
frappe.reload_doc('crm', 'doctype', 'opportunity_item', force=True)
|
|
||||||
|
|
||||||
opportunities = frappe.db.get_list('Opportunity', filters={
|
opportunities = frappe.db.get_list('Opportunity', filters={
|
||||||
'opportunity_amount': ['>', 0]
|
'opportunity_amount': ['>', 0]
|
||||||
}, fields=['name', 'company', 'currency', 'opportunity_amount'])
|
}, fields=['name', 'company', 'currency', 'opportunity_amount'])
|
||||||
|
|||||||
Reference in New Issue
Block a user