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.

38 lines
1.3 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2012-2013 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="asterisk_crm_option_view" model="ir.ui.view">
  11. <field name="name">asterisk.crm.option.view</field>
  12. <field name="model">res.users</field>
  13. <field name="inherit_id" ref="asterisk_click2dial.asterisk_res_users_internal_number"/>
  14. <field name="arch" type="xml">
  15. <field name="asterisk_server_id" position="after">
  16. <field name="context_propose_creation_crm_call"/>
  17. </field>
  18. </field>
  19. </record>
  20. <record id="asterisk_crm_preferences_option_view" model="ir.ui.view">
  21. <field name="name">asterisk.crm.preferences.option.view</field>
  22. <field name="model">res.users</field>
  23. <field name="inherit_id" ref="asterisk_click2dial.view_users_form_simple_modif" />
  24. <field name="arch" type="xml">
  25. <group name="telephony" position="inside">
  26. <field name="context_propose_creation_crm_call" readonly="0"/>
  27. </group>
  28. <group name="telephony" position="attributes">
  29. <attribute name="string">Telephony Preferences</attribute>
  30. </group>
  31. </field>
  32. </record>
  33. </data>
  34. </openerp>