Browse Source

[IMP] mis_builder: add button icons and xls export from the report instance form

pull/86/head
Stéphane Bidoul 10 years ago
parent
commit
3b522a92b1
  1. 7
      mis_builder/views/mis_builder.xml

7
mis_builder/views/mis_builder.xml

@ -115,7 +115,7 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="MIS Report Result" version="7.0"> <form string="MIS Report Result" version="7.0">
<widget type="mis_report"></widget> <widget type="mis_report"></widget>
<button icon="gtk-execute" name="%(xls_export)d" string="Export" type="action" colspan="2"/>
<button icon="gtk-execute" name="%(xls_export)d" string="XLS Export" type="action" colspan="2"/>
</form> </form>
</field> </field>
</record> </record>
@ -151,8 +151,9 @@
</h1> </h1>
</div> </div>
<div class="oe_right oe_button_box" name="buttons"> <div class="oe_right oe_button_box" name="buttons">
<button type="object" name="preview" string="Preview" />
<button type="action" name="%(mis_report_instance_add_to_dashboard_action)d" string="Add to dashboard" />
<button type="object" name="preview" string="Preview" icon="gtk-print-preview" />
<button type="action" name="%(xls_export)d" string="XLS Export" icon="gtk-execute" />
<button type="action" name="%(mis_report_instance_add_to_dashboard_action)d" string="Add to dashboard" icon="gtk-add" />
</div> </div>
<group col="2"> <group col="2">
<field name="description"/> <field name="description"/>

Loading…
Cancel
Save