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.

42 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="view_users_form" model="ir.ui.view">
  10. <field name="name">map.res.users.form</field>
  11. <field name="model">res.users</field>
  12. <field name="inherit_id" ref="base.view_users_form"/>
  13. <field name="arch" type="xml">
  14. <group name="messaging" position="after">
  15. <group name="maps" string="Maps">
  16. <field name="context_map_website_id" widget="selection"/>
  17. <field name="context_route_map_website_id" widget="selection"/>
  18. <field name="context_route_start_partner_id"/>
  19. </group>
  20. </group>
  21. </field>
  22. </record>
  23. <record id="view_users_form_simple_modif" model="ir.ui.view">
  24. <field name="name">map.preferences.res.users.form</field>
  25. <field name="model">res.users</field>
  26. <field name="inherit_id" ref="base.view_users_form_simple_modif"/>
  27. <field name="arch" type="xml">
  28. <group name="preferences" position="inside">
  29. <field name="context_map_website_id"
  30. readonly="0" widget="selection"/>
  31. <field name="context_route_map_website_id"
  32. readonly="0" widget="selection"/>
  33. <field name="context_route_start_partner_id" readonly="0"/>
  34. </group>
  35. </field>
  36. </record>
  37. </data>
  38. </openerp>