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

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright 2014-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_popup.res.users.form</field>
  10. <field name="model">res.users</field>
  11. <field name="inherit_id" ref="base_phone.view_users_form"/>
  12. <field name="arch" type="xml">
  13. <page name="phone" position="attributes">
  14. <attribute name="invisible">0</attribute>
  15. </page>
  16. <group name="phone-preferences" position="inside">
  17. <field name="context_incall_popup"/>
  18. </group>
  19. </field>
  20. </record>
  21. <record id="view_users_form_simple_modif" model="ir.ui.view">
  22. <field name="name">base_phone_popup.users.preferences.view</field>
  23. <field name="model">res.users</field>
  24. <field name="inherit_id" ref="base_phone.view_users_form_simple_modif" />
  25. <field name="arch" type="xml">
  26. <group name="phone" position="inside">
  27. <field name="context_incall_popup" readonly="0"/>
  28. </group>
  29. <group name="phone" position="attributes">
  30. <attribute name="invisible">0</attribute>
  31. </group>
  32. </field>
  33. </record>
  34. </odoo>