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.

50 lines
2.0 KiB

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