[FIX] survey : problem of sequence in survey questions and in answers
bzr revid: vir@tinyerp.com-20100830091448-5ji02cja0jcw93vc
This commit is contained in:
parent
74f86f3b9d
commit
62e7869832
|
@ -570,7 +570,7 @@ class survey_answer(osv.osv):
|
|||
'in_visible_answer_type': fields.boolean('Is Answer Type Invisible??')
|
||||
}
|
||||
_defaults = {
|
||||
'sequence' : lambda * a: 1,
|
||||
# 'sequence' : lambda * a: 1,
|
||||
'type' : lambda * a: 'char',
|
||||
'in_visible_answer_type':_get_in_visible_answer_type,
|
||||
}
|
||||
|
|
|
@ -868,7 +868,7 @@
|
|||
<field name="model">survey.answer</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree editable="top" string="Survey Answer">
|
||||
<tree editable="bottom" string="Survey Answer">
|
||||
<field name="sequence" string="Seq"/>
|
||||
<field name="answer" select="1"/>
|
||||
</tree>
|
||||
|
|
Loading…
Reference in New Issue