<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright (C) 2015 Akretion France (www.akretion.com)
    @author: Alexis de Lattre <alexis.delattre@akretion.com>
    The licence is in the file __openerp__.py
-->

<openerp>
<data>

<record id="map_website_form" model="ir.ui.view">
    <field name="name">map.website.form</field>
    <field name="model">map.website</field>
    <field name="arch" type="xml">
        <form string="Map Website">
            <group name="main">
                <field name="name"/>
                <field name="address_url"/>
                <field name="lat_lon_url"/>
                <field name="route_address_url"/>
                <field name="route_lat_lon_url"/>
            </group>
        </form>
    </field>
</record>

<record id="map_website_tree" model="ir.ui.view">
    <field name="name">map.website.tree</field>
    <field name="model">map.website</field>
    <field name="arch" type="xml">
        <tree string="Map Websites">
            <field name="name"/>
            <field name="address_url"/>
        </tree>
    </field>
</record>

<record id="map_website_action" model="ir.actions.act_window">
    <field name="name">Map Websites</field>
    <field name="res_model">map.website</field>
    <field name="view_mode">tree,form</field>
</record>

<!-- Menu entry under Sales > Config > Address Book > Localization -->
<menuitem id="map_website_menu" action="map_website_action"
    parent="base.menu_localisation" sequence="50"/>

</data>
</openerp>