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.5 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2015 Akretion France (www.akretion.com)
  4. @author: Alexis de Lattre <alexis.delattre@akretion.com>
  5. The licence is in the file __openerp__.py
  6. -->
  7. <openerp>
  8. <data>
  9. <record id="map_website_form" model="ir.ui.view">
  10. <field name="name">map.website.form</field>
  11. <field name="model">map.website</field>
  12. <field name="arch" type="xml">
  13. <form string="Map Website">
  14. <group name="main">
  15. <field name="name"/>
  16. <field name="address_url"/>
  17. <field name="lat_lon_url"/>
  18. <field name="route_address_url"/>
  19. <field name="route_lat_lon_url"/>
  20. </group>
  21. </form>
  22. </field>
  23. </record>
  24. <record id="map_website_tree" model="ir.ui.view">
  25. <field name="name">map.website.tree</field>
  26. <field name="model">map.website</field>
  27. <field name="arch" type="xml">
  28. <tree string="Map Websites">
  29. <field name="name"/>
  30. <field name="address_url"/>
  31. </tree>
  32. </field>
  33. </record>
  34. <record id="map_website_action" model="ir.actions.act_window">
  35. <field name="name">Map Websites</field>
  36. <field name="res_model">map.website</field>
  37. <field name="view_mode">tree,form</field>
  38. </record>
  39. <!-- Menu entry under Sales > Config > Address Book > Localization -->
  40. <menuitem id="map_website_menu" action="map_website_action"
  41. parent="base.menu_localisation" sequence="50"/>
  42. </data>
  43. </openerp>