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.

37 lines
1.4 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. © 2010-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">base_phone.res.users.telephony_tab</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. <notebook position="inside">
  13. <page string="Telephony" name="phone" invisible="1">
  14. <!-- Empty page, which will be used by other phone modules -->
  15. <group name="phone-preferences" string="Telephony Preferences">
  16. </group>
  17. </page>
  18. </notebook>
  19. </field>
  20. </record>
  21. <record id="view_users_form_simple_modif" model="ir.ui.view">
  22. <field name="name">base_phone.user_preferences.view</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. <xpath expr="//field[@name='email']/.." position="after">
  27. <group name="phone" string="Telephony Preferences" invisible="1">
  28. <!-- Empty group, that is used by other phone modules -->
  29. </group>
  30. </xpath>
  31. </field>
  32. </record>
  33. </odoo>