mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +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
|
# fixtures
|
||||||
for name in ('Hub', _('Sales'), _('Support'), _('Maintenance')):
|
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()
|
frappe.get_doc(dict(doctype = 'Opportunity Type', name=name)).insert()
|
||||||
|
|||||||
Reference in New Issue
Block a user