[IMP] survey: imp in views to enable better config of quiz mode

bzr revid: rim@openerp.com-20140415091446-hj0xugog2u3almaw
This commit is contained in:
Richard Mathot (OpenERP) 2014-04-15 11:14:46 +02:00
parent 14be899706
commit 1085389add
2 changed files with 2 additions and 1 deletions

View File

@ -803,7 +803,7 @@ class survey_label(osv.Model):
'sequence': fields.integer('Label Sequence order'),
'value': fields.char("Suggested value", translate=True,
required=True),
'quizz_mark': fields.float('Score for this answer'),
'quizz_mark': fields.float('Score for this answer', help="A positive score indicates a correct answer; a negative or null score indicates a wrong answer"),
}
defaults = {
'sequence': 100,

View File

@ -313,6 +313,7 @@
<tree editable="bottom">
<field name="sequence" widget="handle"/>
<field name="value" string="Answers"/>
<field name="quizz_mark" groups="base.group_no_one"/>
</tree>
</field>
<separator />