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.

41 lines
1.5 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2012 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="base.view_users_form_simple_modif" />
  24. <field name="arch" type="xml">
  25. <field name="signature" position="after">
  26. <group colspan="4" col="2" >
  27. <!-- I create a group to avoid that the long "string" of the
  28. field context_propose_creation_crm_call pushes all other fields
  29. to the right -->
  30. <separator string="Telephony preferences" colspan="2"/>
  31. <field name="context_propose_creation_crm_call" readonly="0"/>
  32. </group>
  33. </field>
  34. </field>
  35. </record>
  36. </data>
  37. </openerp>