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.

51 lines
2.2 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.ui.view" id="export_help_wizard_view">
  5. <field name="name">export.help.wizard.view</field>
  6. <field name="model">export.help.wizard</field>
  7. <field name="type">form</field>
  8. <field name="arch" type="xml">
  9. <form string="Export Help Data">
  10. <group colspan="2">
  11. <field name="export_filename"
  12. invisible="1"/>
  13. </group>
  14. <group>
  15. <p>
  16. This wizard allow you to export all QWeb views
  17. related to help online. The result will be an Odoo
  18. data xml file.
  19. </p>
  20. </group>
  21. <group>
  22. <field name="data"
  23. nolabel="1"
  24. readonly="1"
  25. filename="export_filename" />
  26. </group>
  27. <footer>
  28. <span name="go-wizard" attrs="{'invisible': [('export_filename', '!=', False)]}">
  29. <button name="export_help"
  30. string="Export"
  31. type="object"
  32. icon="gtk-execute"
  33. class="oe_highlight" />
  34. or
  35. </span>
  36. <button string="Close" class="oe_link" special="cancel" />
  37. </footer>
  38. </form>
  39. </field>
  40. </record>
  41. <record model="ir.actions.act_window" id="action_export_help_wizard">
  42. <field name="name">Export Help</field>
  43. <field name="res_model">export.help.wizard</field>
  44. <field name="view_id" ref="export_help_wizard_view"/>
  45. <field name="view_type">form</field>
  46. <field name="view_mode">form</field>
  47. <field name="target">new</field>
  48. <field name="type">ir.actions.act_window</field>
  49. </record>
  50. </data>
  51. </openerp>