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.

53 lines
1.8 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Asterisk Click2dial module for OpenERP
  4. Copyright (C) 2010-2013 Alexis de Lattre <alexis@via.ecp.fr>
  5. The licence is in the file __openerp__.py
  6. Inherit res_users view to add the click2dial-related fields
  7. -->
  8. <openerp>
  9. <data>
  10. <record id="asterisk_res_users_internal_number" model="ir.ui.view">
  11. <field name="name">asterisk.res.users.telephony_tab</field>
  12. <field name="model">res.users</field>
  13. <field name="inherit_id" ref="base.view_users_form"/>
  14. <field name="arch" type="xml">
  15. <notebook>
  16. <page string="Telephony" position="inside">
  17. <group name="standard_params" string="Standard parameters">
  18. <field name="asterisk_chan_type"/>
  19. <field name="resource"/>
  20. <field name="internal_number"/>
  21. <field name="callerid"/>
  22. <field name="asterisk_server_id"/>
  23. </group>
  24. <group name="optional_params" string="Optional parameters - for experts only, can be left empty">
  25. <field name="cdraccount"/>
  26. <field name="dial_suffix"/>
  27. <field name="alert_info"/>
  28. <field name="variable"/>
  29. </group>
  30. </page>
  31. </notebook>
  32. </field>
  33. </record>
  34. <record id="view_users_form_simple_modif" model="ir.ui.view">
  35. <field name="name">asterisk.preferences.view</field>
  36. <field name="model">res.users</field>
  37. <field name="inherit_id" ref="base.view_users_form_simple_modif" />
  38. <field name="arch" type="xml">
  39. <group string="Email Preferences" position="after">
  40. <group name="telephony">
  41. <!-- Empty group, that is used by other Asterisk modules -->
  42. </group>
  43. </group>
  44. </field>
  45. </record>
  46. </data>
  47. </openerp>