File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 2
2
from __future__ import unicode_literals
3
3
import frappe
4
4
5
- __version__ = '8.0.14 '
5
+ __version__ = '8.0.15 '
6
6
7
7
def get_default_company (user = None ):
8
8
'''Get default company for user'''
Original file line number Diff line number Diff line change @@ -571,6 +571,7 @@ def create_program(args):
571
571
for i in xrange (1 ,6 ):
572
572
if args .get ("program_" + str (i )):
573
573
program = frappe .new_doc ("Program" )
574
+ program .program_code = args .get ("program_" + str (i ))
574
575
program .program_name = args .get ("program_" + str (i ))
575
576
try :
576
577
program .save ()
@@ -581,6 +582,7 @@ def create_course(args):
581
582
for i in xrange (1 ,6 ):
582
583
if args .get ("course_" + str (i )):
583
584
course = frappe .new_doc ("Course" )
585
+ course .course_code = args .get ("course_" + str (i ))
584
586
course .course_name = args .get ("course_" + str (i ))
585
587
try :
586
588
course .save ()
You can’t perform that action at this time.
0 commit comments