You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.4 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.ui.view" id="mis_report_instance_add_to_dashboard_form_view">
  5. <field name="name">add.mis.report.instance.dashboard.wizard.view</field>
  6. <field name="model">add.mis.report.instance.dashboard.wizard</field>
  7. <field name="arch" type="xml">
  8. <form string="Add to dashboard" version="7.0">
  9. <group>
  10. <field name="name"/>
  11. <field name="dashboard_id"/>
  12. </group>
  13. <footer>
  14. <button name="action_add_to_dashboard" string="Add to dashboard" type="object" default_focus="1" class="oe_highlight"/>
  15. or
  16. <button string="Cancel" class="oe_link" special="cancel"/>
  17. </footer>
  18. </form>
  19. </field>
  20. </record>
  21. <record model="ir.actions.act_window" id="mis_report_instance_add_to_dashboard_action">
  22. <field name="name">Add to dashboard</field>
  23. <field name="res_model">add.mis.report.instance.dashboard.wizard</field>
  24. <field name="view_type">form</field>
  25. <field name="view_mode">form</field>
  26. <field name="view_id" ref="mis_report_instance_add_to_dashboard_form_view"/>
  27. <field name="target">new</field>
  28. </record>
  29. </data>
  30. </openerp>