mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 00:25:01 +00:00
[fix] Patch fail (#11623)
This commit is contained in:
committed by
Nabin Hait
parent
d9978d9c4f
commit
82b200e497
@@ -30,5 +30,5 @@ def execute():
|
||||
|
||||
# fixtures
|
||||
for name in ('Hub', _('Sales'), _('Support'), _('Maintenance')):
|
||||
if not frappe.db.exists('Opportunity', name):
|
||||
if not frappe.db.exists('Opportunity Type', name):
|
||||
frappe.get_doc(dict(doctype = 'Opportunity Type', name=name)).insert()
|
||||
|
||||
Reference in New Issue
Block a user