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.

49 lines
1.9 KiB

5 years ago
5 years ago
5 years ago
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <odoo>
  3. <record id="nuts_import_form" model="ir.ui.view">
  4. <field name="name">NUTS import</field>
  5. <field name="model">nuts.import</field>
  6. <field name="arch" type="xml">
  7. <form string="Import NUTS 2013 from RAMON">
  8. <div>
  9. This wizard will download the lastest version of
  10. NUTS 2013 from Europe RAMON metadata service.
  11. Updating or creating new NUTS entries if not
  12. found already in the system, and DELETING MISSING
  13. ENTRIES from new downloaded file.
  14. Update or deletion is prevented for NUTS entries with the flag 'Not updatable'.
  15. </div>
  16. <footer>
  17. <button
  18. name="run_import"
  19. type="object"
  20. class="oe_highlight"
  21. string="Import"
  22. />
  23. <button special="cancel" string="Cancel" class="oe_link" />
  24. </footer>
  25. </form>
  26. </field>
  27. </record>
  28. <record id="nuts_import_action" model="ir.actions.act_window">
  29. <field name="name">Import NUTS 2013 from RAMON</field>
  30. <field name="type">ir.actions.act_window</field>
  31. <field name="res_model">nuts.import</field>
  32. <field name="view_id" ref="nuts_import_form" />
  33. <field name="view_mode">form</field>
  34. <field name="target">new</field>
  35. </record>
  36. <menuitem
  37. action="nuts_import_action"
  38. id="nuts_import_menu"
  39. name="Import NUTS 2013"
  40. parent="contacts.menu_localisation"
  41. sequence="45"
  42. />
  43. <record id="config_wizard_nuts" model="ir.actions.todo">
  44. <field name="name">Import NUTS 2013 from RAMON</field>
  45. <field name="action_id" ref="nuts_import_action" />
  46. <field name="sequence">20</field>
  47. </record>
  48. </odoo>