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.
44 lines
1.6 KiB
44 lines
1.6 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2014 Akretion (http://www.akretion.com/)
|
|
@author: Alexis de Lattre <alexis.delattre@akretion.com>
|
|
The licence is in the file __openerp__.py
|
|
-->
|
|
|
|
<openerp>
|
|
<data>
|
|
|
|
<record id="better_zip_geonames_import_form" model="ir.ui.view">
|
|
<field name="name">asterisk.server.company</field>
|
|
<field name="model">better.zip.geonames.import</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Import Geonames" version="7.0">
|
|
<group name="main">
|
|
<label string="This wizard will delete all the better zip entries for the selected country, download the latest version from geonames.org for that country and create new better zip entries."
|
|
colspan="2" name="import-help"/>
|
|
<field name="country_id"/>
|
|
</group>
|
|
<footer>
|
|
<button name="run_import" type="object"
|
|
class="oe_highlight" string="Import"/>
|
|
<button special="cancel" string="Cancel" class="oe_link"/>
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="better_zip_geonames_import_action" model="ir.actions.act_window">
|
|
<field name="name">Import Geonames</field>
|
|
<field name="res_model">better.zip.geonames.import</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">new</field>
|
|
</record>
|
|
|
|
<menuitem id="better_zip_geonames_import_menu"
|
|
action="better_zip_geonames_import_action"
|
|
parent="base.menu_localisation"
|
|
sequence="50"/>
|
|
|
|
</data>
|
|
</openerp>
|