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.

40 lines
1.4 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright 2010-2018 Akretion France
  4. @author: Alexis de Lattre <alexis.delattre@akretion.com>
  5. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  6. -->
  7. <odoo>
  8. <record id="view_users_form" model="ir.ui.view">
  9. <field name="name">base_phone.res.users.telephony_tab</field>
  10. <field name="model">res.users</field>
  11. <field name="inherit_id" ref="base.view_users_form"/>
  12. <field name="arch" type="xml">
  13. <notebook position="inside">
  14. <page string="Telephony" name="phone" invisible="1">
  15. <!-- Empty page, which will be used by other phone modules -->
  16. <group name="phone-preferences" string="Telephony Preferences">
  17. </group>
  18. </page>
  19. </notebook>
  20. </field>
  21. </record>
  22. <record id="view_users_form_simple_modif" model="ir.ui.view">
  23. <field name="name">base_phone.user_preferences.view</field>
  24. <field name="model">res.users</field>
  25. <field name="inherit_id" ref="base.view_users_form_simple_modif" />
  26. <field name="arch" type="xml">
  27. <xpath expr="//group[@name='preference_email']/.." position="after">
  28. <group name="phone" string="Telephony Preferences" invisible="1">
  29. <!-- Empty group, that is used by other phone modules -->
  30. </group>
  31. </xpath>
  32. </field>
  33. </record>
  34. </odoo>