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.

45 lines
1.9 KiB

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