Skip to content

Commit bd946b2

Browse files
committed
FIX
1 parent 6a95188 commit bd946b2

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

academic/group.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,13 @@ class group(models.Model):
2222
context={'default_is_company':True},
2323
default=lambda self: self.env['res.company']._company_default_get('academic.group')
2424
)
25-
type = fields.Selection(
26-
[(u'student', u'Student'), (u'teacher', u'Teacher'), (u'administrator', u'Administrator'), (u'gral_administrator', u'Gral. Administrator')],
25+
type = fields.Selection([
26+
(u'student', u'Student'),
27+
(u'teacher', u'Teacher'),
28+
(u'administrator', u'Administrator'),
29+
(u'gral_administrator', u'Gral. Administrator'),
30+
(u'parent', u'Parent'),
31+
],
2732
string='type'
2833
)
2934
year = fields.Integer(

0 commit comments

Comments
 (0)