[FIX] Set the print or cancel buttons in the footer in all the wizards of Survey in reporting.
bzr revid: chandni.machchhar3@gmail.com-20130603095843-q5eq7mqpiwepcly1
This commit is contained in:
parent
36c14f32d2
commit
08040221b2
|
@ -11,15 +11,15 @@
|
|||
<field name="model">survey.browse.answer</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Survey" version="7.0">
|
||||
<header>
|
||||
<button name="action_next" string="Start" type="object" class="oe_highlight"/>
|
||||
or
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</header>
|
||||
<group col="4">
|
||||
<field name="survey_id"/>
|
||||
<field name="response_id" domain="[('survey_id','=', survey_id)]"/>
|
||||
</group>
|
||||
<footer>
|
||||
<button name="action_next" string="Start" type="object" class="oe_highlight"/>
|
||||
or
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
@ -9,11 +9,6 @@
|
|||
<field name="model">survey.print</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Survey Print" version="7.0">
|
||||
<header>
|
||||
<button name="action_next" string="Print" type="object" class="oe_highlight"/>
|
||||
or
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</header>
|
||||
<group col="4">
|
||||
<separator string="Survey" colspan="4"/>
|
||||
<field name="survey_ids" nolabel="1" colspan="4" />
|
||||
|
@ -23,6 +18,11 @@
|
|||
<field name="page_number" colspan="4"/>
|
||||
<field name="without_pagebreak" colspan="4"/>
|
||||
</group>
|
||||
<footer>
|
||||
<button name="action_next" string="Print" type="object" class="oe_highlight"/>
|
||||
or
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
@ -9,11 +9,6 @@
|
|||
<field name="model">survey.print.answer</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Print Answer" version="7.0">
|
||||
<header>
|
||||
<button name="action_next" string="Print" type="object" class="oe_highlight"/>
|
||||
or
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</header>
|
||||
<group col="4">
|
||||
<separator string="Answer" colspan="4"/>
|
||||
<field name="response_ids" nolabel="1" colspan="4" />
|
||||
|
@ -23,6 +18,11 @@
|
|||
<field name="page_number" colspan="4"/>
|
||||
<field name="without_pagebreak" colspan="4"/>
|
||||
</group>
|
||||
<footer>
|
||||
<button name="action_next" string="Print" type="object" class="oe_highlight"/>
|
||||
or
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
<field name="model">survey.print.statistics</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Survey Print Statistics" version="7.0">
|
||||
<header>
|
||||
<field name="survey_ids"/>
|
||||
<footer>
|
||||
<button name="action_next" string="Print" type="object" class="oe_highlight"/>
|
||||
or
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</header>
|
||||
<field name="survey_ids"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
@ -10,15 +10,15 @@
|
|||
<field name="model">survey.name.wiz</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Survey" version="7.0">
|
||||
<header>
|
||||
<button name="action_next" string="Start" type="object" class="oe_highlight"/>
|
||||
or
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</header>
|
||||
<group>
|
||||
<field name="survey_id" on_change="on_change_survey(survey_id)"/>
|
||||
</group>
|
||||
<field name="note" placeholder="Add Description" attrs="{'readonly': [('survey_id','=',False)]}"/>
|
||||
<footer>
|
||||
<button name="action_next" string="Start" type="object" class="oe_highlight"/>
|
||||
or
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
@ -9,11 +9,6 @@
|
|||
<field name="model">survey.send.invitation</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Send Invitation" version="7.0">
|
||||
<header>
|
||||
<button name="action_send" string="_Send" type="object" class="oe_highlight"/>
|
||||
or
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</header>
|
||||
<group col="4">
|
||||
<separator string="Select Partner" colspan="4"/>
|
||||
<field name="partner_ids" nolabel="1" colspan="4" widget="many2many_tags"/>
|
||||
|
@ -28,6 +23,11 @@
|
|||
<separator string="Message" colspan="4"/>
|
||||
<field name="mail" nolabel="1" colspan="4"/>
|
||||
</group>
|
||||
<footer>
|
||||
<button name="action_send" string="_Send" type="object" class="oe_highlight"/>
|
||||
or
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
|
Loading…
Reference in New Issue