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.

34 lines
1.2 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. © 2012-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. <!-- Add option on user form view -->
  8. <record id="view_users_form" model="ir.ui.view">
  9. <field name="name">crm.phone.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. <!-- Phone tab is already invisible, cf base_phone -->
  14. <group name="phone-preferences" position="inside">
  15. <field name="context_propose_creation_crm_call"/>
  16. </group>
  17. </field>
  18. </record>
  19. <record id="view_users_form_simple_modif" model="ir.ui.view">
  20. <field name="name">crm.phone.preferences.option.view</field>
  21. <field name="model">res.users</field>
  22. <field name="inherit_id" ref="base_phone.view_users_form_simple_modif" />
  23. <field name="arch" type="xml">
  24. <!-- phone group is already invisible, cf base_phone -->
  25. <group name="phone" position="inside">
  26. <field name="context_propose_creation_crm_call" readonly="0"/>
  27. </group>
  28. </field>
  29. </record>
  30. </odoo>