[fix] Patch fail (#11623)

This commit is contained in:
Vishal Dhayagude 2017-11-17 11:01:42 +05:30 committed by Nabin Hait
parent d9978d9c4f
commit 82b200e497

View File

@ -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()