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.3 KiB

10 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Base Phone module for OpenERP
  4. Copyright (C) 2010-2014 Alexis de Lattre <alexis@via.ecp.fr>
  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">base_phone.res.users.telephony_tab</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. <notebook position="inside">
  15. <page string="Telephony" name="phone" invisible="1">
  16. <!-- Empty page, which will be used by other phone modules -->
  17. <group name="phone-preferences" string="Telephony Preferences">
  18. </group>
  19. </page>
  20. </notebook>
  21. </field>
  22. </record>
  23. <record id="view_users_form_simple_modif" model="ir.ui.view">
  24. <field name="name">base_phone.user_preferences.view</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. <xpath expr="//field[@name='email']/.." position="after">
  29. <group name="phone" string="Telephony Preferences" invisible="1">
  30. <!-- Empty group, that is used by other phone modules -->
  31. </group>
  32. </xpath>
  33. </field>
  34. </record>
  35. </data>
  36. </openerp>