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
51 lines
1.8 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
© 2010-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
Inherit res_users view to add the click2dial-related fields
|
|
-->
|
|
|
|
<odoo>
|
|
<data>
|
|
|
|
<record id="view_users_form" model="ir.ui.view">
|
|
<field name="name">freeswitch_click2dial.res.users.form</field>
|
|
<field name="model">res.users</field>
|
|
<field name="inherit_id" ref="base_phone.view_users_form"/>
|
|
<field name="arch" type="xml">
|
|
<page name="phone" position="attributes">
|
|
<attribute name="invisible">0</attribute>
|
|
</page>
|
|
<group name="phone-preferences" position="after">
|
|
<group name="freeswitch-standard" string="Standard FreeSWITCH Parameters">
|
|
<field name="freeswitch_chan_type"/>
|
|
<field name="resource"/>
|
|
<field name="internal_number"/>
|
|
<field name="callerid"/>
|
|
<field name="freeswitch_server_id"/>
|
|
</group>
|
|
<group name="freeswitch-optional" string="Optional FreeSWITCH Parameters - for experts only, can be left empty">
|
|
<field name="cdraccount"/>
|
|
<field name="dial_suffix"/>
|
|
<field name="alert_info"/>
|
|
<field name="variable"/>
|
|
</group>
|
|
</group>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_users_form_simple_modif" model="ir.ui.view">
|
|
<field name="name">freeswitch_click2dial.users.preferences.form</field>
|
|
<field name="model">res.users</field>
|
|
<field name="inherit_id" ref="base_phone.view_users_form_simple_modif"/>
|
|
<field name="arch" type="xml">
|
|
<group name="phone" position="attributes">
|
|
<attribute name="invisible">0</attribute>
|
|
</group>
|
|
</field>
|
|
</record>
|
|
|
|
|
|
</data>
|
|
</odoo>
|