[fix] Patch fail (#11623)
This commit is contained in:
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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user