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.

48 lines
2.1 KiB

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