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.

43 lines
1.8 KiB

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!--
  3. Copyright 2015-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  5. -->
  6. <odoo>
  7. <record id="view_users_form" model="ir.ui.view">
  8. <field name="name">map.res.users.form</field>
  9. <field name="model">res.users</field>
  10. <field name="inherit_id" ref="base.view_users_form" />
  11. <field name="arch" type="xml">
  12. <group name="messaging" position="after">
  13. <group name="maps" string="Maps">
  14. <field name="context_map_website_id" widget="selection" />
  15. <field name="context_route_map_website_id" widget="selection" />
  16. <field name="context_route_start_partner_id" />
  17. </group>
  18. </group>
  19. </field>
  20. </record>
  21. <record id="view_users_form_simple_modif" model="ir.ui.view">
  22. <field name="name">map.preferences.res.users.form</field>
  23. <field name="model">res.users</field>
  24. <field name="inherit_id" ref="base.view_users_form_simple_modif" />
  25. <field name="arch" type="xml">
  26. <group name="preferences" position="inside">
  27. <group name="maps">
  28. <field
  29. name="context_map_website_id"
  30. readonly="0"
  31. widget="selection"
  32. />
  33. <field
  34. name="context_route_map_website_id"
  35. readonly="0"
  36. widget="selection"
  37. />
  38. <field name="context_route_start_partner_id" readonly="0" />
  39. </group>
  40. </group>
  41. </field>
  42. </record>
  43. </odoo>