mirror of
https://gitlab.com/flectra-community/partner-contact.git
synced 2024-12-23 21:01:48 +00:00
50 lines
1.9 KiB
XML
50 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<flectra>
|
|
<record id="nuts_import_form" model="ir.ui.view">
|
|
<field name="name">NUTS import</field>
|
|
<field name="model">nuts.import</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Import NUTS 2013 from RAMON">
|
|
<div>
|
|
This wizard will download the lastest version of
|
|
NUTS 2013 from Europe RAMON metadata service.
|
|
Updating or creating new NUTS entries if not
|
|
found already in the system, and DELETING MISSING
|
|
ENTRIES from new downloaded file.
|
|
|
|
Update or deletion is prevented for NUTS entries with the flag 'Not updatable'.
|
|
</div>
|
|
<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="nuts_import_action" model="ir.actions.act_window">
|
|
<field name="name">Import NUTS 2013 from RAMON</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">nuts.import</field>
|
|
<field name="view_id" ref="nuts_import_form" />
|
|
<field name="view_mode">form</field>
|
|
<field name="target">new</field>
|
|
</record>
|
|
<menuitem
|
|
action="nuts_import_action"
|
|
id="nuts_import_menu"
|
|
name="Import NUTS 2013"
|
|
parent="contacts.menu_localisation"
|
|
sequence="45"
|
|
/>
|
|
<record id="config_wizard_nuts" model="ir.actions.todo">
|
|
<field name="name">Import NUTS 2013 from RAMON</field>
|
|
<field name="action_id" ref="nuts_import_action" />
|
|
<field name="sequence">20</field>
|
|
</record>
|
|
</flectra>
|