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.

41 lines
1.8 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. </group>
  17. <footer>
  18. <button name="check_report" string="Print" type="object" default_focus="1" class="oe_highlight"/>
  19. or
  20. <button string="Cancel" class="oe_link" special="cancel" />
  21. </footer>
  22. </form>
  23. </field>
  24. </record>
  25. <record id="action_cooperative_history_wizard" model="ir.actions.act_window">
  26. <field name="name">Cooperative history</field>
  27. <field name="type">ir.actions.act_window</field>
  28. <field name="res_model">cooperative.history.report</field>
  29. <field name="view_type">form</field>
  30. <field name="view_mode">form</field>
  31. <field name="view_id" ref="view_cooperative_history_wizard"/>
  32. <field name="target">new</field>
  33. <field name="multi">True</field>
  34. </record>
  35. <menuitem id="menu_easy_my_coop_reporting" name="Reporting" parent="menu_main_easy_my_coop" sequence="20"/>
  36. <menuitem id="menu_coop_history_wizard_report" name="Cooperative history report" parent="menu_easy_my_coop_reporting" action="action_cooperative_history_wizard" sequence="10"/>
  37. </data>
  38. </openerp>