[FIX] survey : problem of sequence in survey questions and in answers

bzr revid: vir@tinyerp.com-20100830091448-5ji02cja0jcw93vc
This commit is contained in:
Vir (Open ERP) 2010-08-30 14:44:48 +05:30
parent 74f86f3b9d
commit 62e7869832
2 changed files with 2 additions and 2 deletions

View File

@ -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,
}

View File

@ -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>