commit | eaed1ae3d6c006e29a1db0d5ee558eb887dc89bd | [log] [tgz] |
---|---|---|
author | scmmishra <scm.mymail@gmail.com> | Mon Mar 18 19:11:07 2019 +0530 |
committer | scmmishra <scm.mymail@gmail.com> | Mon Mar 18 19:11:07 2019 +0530 |
tree | 2a68fc61e2bf7e088f0ec030ddadb19fb27a2a0f | |
parent | f2c638f8ab564fc8a451387ef4220bdae6831736 [diff] |
fix: Added import statement for translate wrapper
diff --git a/erpnext/education/doctype/course_activity/course_activity.py b/erpnext/education/doctype/course_activity/course_activity.py index 28eafea..054b192 100644 --- a/erpnext/education/doctype/course_activity/course_activity.py +++ b/erpnext/education/doctype/course_activity/course_activity.py
@@ -4,6 +4,7 @@ from __future__ import unicode_literals import frappe +from frappe import _ from frappe.model.document import Document class CourseActivity(Document):
diff --git a/erpnext/education/doctype/course_enrollment/course_enrollment.py b/erpnext/education/doctype/course_enrollment/course_enrollment.py index d521828..2a2837d 100644 --- a/erpnext/education/doctype/course_enrollment/course_enrollment.py +++ b/erpnext/education/doctype/course_enrollment/course_enrollment.py
@@ -4,6 +4,7 @@ from __future__ import unicode_literals import frappe +from frappe import _ from frappe.model.document import Document from functools import reduce