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.

51 lines
1.8 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. © 2010-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  5. Inherit res_users view to add the click2dial-related fields
  6. -->
  7. <odoo>
  8. <data>
  9. <record id="view_users_form" model="ir.ui.view">
  10. <field name="name">freeswitch_click2dial.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. <page name="phone" position="attributes">
  15. <attribute name="invisible">0</attribute>
  16. </page>
  17. <group name="phone-preferences" position="after">
  18. <group name="freeswitch-standard" string="Standard FreeSWITCH Parameters">
  19. <field name="freeswitch_chan_type"/>
  20. <field name="resource"/>
  21. <field name="internal_number"/>
  22. <field name="callerid"/>
  23. <field name="freeswitch_server_id"/>
  24. </group>
  25. <group name="freeswitch-optional" string="Optional FreeSWITCH Parameters - for experts only, can be left empty">
  26. <field name="cdraccount"/>
  27. <field name="dial_suffix"/>
  28. <field name="alert_info"/>
  29. <field name="variable"/>
  30. </group>
  31. </group>
  32. </field>
  33. </record>
  34. <record id="view_users_form_simple_modif" model="ir.ui.view">
  35. <field name="name">freeswitch_click2dial.users.preferences.form</field>
  36. <field name="model">res.users</field>
  37. <field name="inherit_id" ref="base_phone.view_users_form_simple_modif"/>
  38. <field name="arch" type="xml">
  39. <group name="phone" position="attributes">
  40. <attribute name="invisible">0</attribute>
  41. </group>
  42. </field>
  43. </record>
  44. </data>
  45. </odoo>