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.

43 lines
1.7 KiB

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