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.

50 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. <record id="view_users_form" model="ir.ui.view">
  9. <field name="name">asterisk_click2dial.res.users.form</field>
  10. <field name="model">res.users</field>
  11. <field name="inherit_id" ref="base_phone.view_users_form"/>
  12. <field name="arch" type="xml">
  13. <page name="phone" position="attributes">
  14. <attribute name="invisible">0</attribute>
  15. </page>
  16. <group name="phone-preferences" position="after">
  17. <group name="asterisk-standard" string="Standard Asterisk 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="asterisk-optional" string="Optional Asterisk 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. </group>
  31. </field>
  32. </record>
  33. <record id="view_users_form_simple_modif" model="ir.ui.view">
  34. <field name="name">asterisk_click2dial.users.preferences.form</field>
  35. <field name="model">res.users</field>
  36. <field name="inherit_id" ref="base_phone.view_users_form_simple_modif"/>
  37. <field name="arch" type="xml">
  38. <group name="phone" position="attributes">
  39. <attribute name="invisible">0</attribute>
  40. </group>
  41. </field>
  42. </record>
  43. </odoo>