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.

48 lines
1.7 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright 2010-2018 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  5. -->
  6. <odoo>
  7. <record id="view_users_form" model="ir.ui.view">
  8. <field name="name">asterisk_click2dial.res.users.form</field>
  9. <field name="model">res.users</field>
  10. <field name="inherit_id" ref="base_phone.view_users_form"/>
  11. <field name="arch" type="xml">
  12. <page name="phone" position="attributes">
  13. <attribute name="invisible">0</attribute>
  14. </page>
  15. <group name="phone-preferences" position="after">
  16. <group name="asterisk-standard" string="Standard Asterisk Parameters">
  17. <field name="asterisk_chan_type"/>
  18. <field name="resource"/>
  19. <field name="internal_number"/>
  20. <field name="callerid"/>
  21. <field name="asterisk_server_id"/>
  22. </group>
  23. <group name="asterisk-optional" string="Optional Asterisk Parameters - for experts only, can be left empty">
  24. <field name="cdraccount"/>
  25. <field name="dial_suffix"/>
  26. <field name="alert_info"/>
  27. <field name="variable"/>
  28. </group>
  29. </group>
  30. </field>
  31. </record>
  32. <record id="view_users_form_simple_modif" model="ir.ui.view">
  33. <field name="name">asterisk_click2dial.users.preferences.form</field>
  34. <field name="model">res.users</field>
  35. <field name="inherit_id" ref="base_phone.view_users_form_simple_modif"/>
  36. <field name="arch" type="xml">
  37. <group name="phone" position="attributes">
  38. <attribute name="invisible">0</attribute>
  39. </group>
  40. </field>
  41. </record>
  42. </odoo>