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.

39 lines
1.4 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. <field name="context_map_website_id"
  28. readonly="0" widget="selection"/>
  29. <field name="context_route_map_website_id"
  30. readonly="0" widget="selection"/>
  31. <field name="context_route_start_partner_id" readonly="0"/>
  32. </group>
  33. </field>
  34. </record>
  35. </odoo>