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.

37 lines
1.2 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2012-2015 Akretion (http://www.akretion.com/)
  4. @author: Alexis de Lattre <alexis.delattre@akretion.com>
  5. The licence is in the file __openerp__.py
  6. -->
  7. <openerp>
  8. <data>
  9. <!-- Add option on user form view -->
  10. <record id="view_users_form" model="ir.ui.view">
  11. <field name="name">crm.phone.res.users.form</field>
  12. <field name="model">res.users</field>
  13. <field name="inherit_id" ref="base_phone.view_users_form"/>
  14. <field name="arch" type="xml">
  15. <!-- Phone tab is already invisible, cf base_phone -->
  16. <group name="phone-preferences" position="inside">
  17. <field name="context_propose_creation_crm_call"/>
  18. </group>
  19. </field>
  20. </record>
  21. <record id="view_users_form_simple_modif" model="ir.ui.view">
  22. <field name="name">crm.phone.preferences.option.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. <!-- phone group is already invisible, cf base_phone -->
  27. <group name="phone" position="inside">
  28. <field name="context_propose_creation_crm_call" readonly="0"/>
  29. </group>
  30. </field>
  31. </record>
  32. </data>
  33. </openerp>