[IMP]survey: Improve survey page also imp answer and browse ans. wizard view

bzr revid: dbr@tinyerp.com-20120704092251-cpsxco49c8wejssy
This commit is contained in:
DBR (OpenERP)
2012-07-04 14:52:51 +05:30
parent c61a170bdd
commit 38e91f1434
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -376,8 +376,8 @@
<field name="survey_id" select="1"/>
<field name="sequence"/>
</group>
<group string="Description" col="4">
<field name="note" nolabel="1"/>
<group col="4">
<field name="note" nolabel="1" placeholder="Add a description on the survey page"/>
</group>
<group col="4">
<field name="question_ids" nolabel="1">
@@ -17,7 +17,7 @@
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group col="4" string = "Select Survey and Related Answer">
<group col="4">
<field name="survey_id"/>
<field name="response_id" domain="[('survey_id','=', survey_id)]"/>
</group>
+2 -2
View File
@@ -16,10 +16,10 @@
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group string="Select Survey">
<group>
<field name="survey_id" on_change="on_change_survey(survey_id)"/>
</group>
<field name="note" attrs="{'readonly': [('survey_id','=',False)]}"/>
<field name="note" placeholder="Add Description" attrs="{'readonly': [('survey_id','=',False)]}"/>
</form>
</field>
</record>