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.

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