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.

56 lines
2.5 KiB

  1. <?xml version="1.0" ?>
  2. <openerp>
  3. <data>
  4. <record id="view_cooperative_history_wizard" model="ir.ui.view">
  5. <field name="name">cooperative.history.wizard.form</field>
  6. <field name="model">cooperative.history.report</field>
  7. <field name="arch" type="xml">
  8. <form string="Reporting" version="7.0">
  9. <separator string="Cooperative History"/>
  10. <group>
  11. <field name="report"/>
  12. </group>
  13. <label string="This report allows you to print a pdf of history and number of share for each cooperator"/>
  14. <group>
  15. <field name="display_cooperator"/>
  16. <!--<field name="display_time"/>-->
  17. </group>
  18. <footer>
  19. <button name="check_report" string="Print" type="object" default_focus="1" class="oe_highlight"/>
  20. or
  21. <button string="Cancel" class="oe_link" special="cancel" />
  22. </footer>
  23. </form>
  24. </field>
  25. </record>
  26. <record id="action_cooperative_history_wizard" model="ir.actions.act_window">
  27. <field name="name">Cooperative history</field>
  28. <field name="type">ir.actions.act_window</field>
  29. <field name="res_model">cooperative.history.report</field>
  30. <field name="view_type">form</field>
  31. <field name="view_mode">form</field>
  32. <field name="view_id" ref="view_cooperative_history_wizard"/>
  33. <field name="target">new</field>
  34. <field name="multi">True</field>
  35. </record>
  36. <!--
  37. <record model="ir.values" id="action_mission_history_wizard_values">
  38. <field name="model_id" ref="fiducis.model_mission_mission"/>
  39. <field name="object" eval="1"/>
  40. <field name="name">Mission history</field>
  41. <field name="key2">client_print_multi</field>
  42. <field name="value"
  43. eval="'ir.actions.act_window,' +str(ref('action_mission_history_wizard'))"/>
  44. <field name="key">action</field>
  45. <field name="model">mission.mission</field>
  46. </record>
  47. -->
  48. <menuitem id="menu_energiris_reporting" name="Reporting" parent="menu_main_energiris" sequence="20"/>
  49. <menuitem id="menu_coop_history_wizard_report" name="Cooperative history report" parent="menu_energiris_reporting" action="action_cooperative_history_wizard" sequence="10"/>
  50. <!--<menuitem id="menu_optify_rep_history" name="Mission hours history" action="action_mission_history_wizard" parent="menu_optify_reporting" sequence="2"/>-->
  51. </data>
  52. </openerp>