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
53 lines
1.8 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Asterisk Click2dial module for OpenERP
|
|
Copyright (C) 2010-2013 Alexis de Lattre <alexis@via.ecp.fr>
|
|
The licence is in the file __openerp__.py
|
|
|
|
Inherit res_users view to add the click2dial-related fields
|
|
-->
|
|
|
|
<openerp>
|
|
<data>
|
|
|
|
<record id="asterisk_res_users_internal_number" model="ir.ui.view">
|
|
<field name="name">asterisk.res.users.telephony_tab</field>
|
|
<field name="model">res.users</field>
|
|
<field name="inherit_id" ref="base.view_users_form"/>
|
|
<field name="arch" type="xml">
|
|
<notebook>
|
|
<page string="Telephony" position="inside">
|
|
<group name="standard_params" string="Standard parameters">
|
|
<field name="asterisk_chan_type"/>
|
|
<field name="resource"/>
|
|
<field name="internal_number"/>
|
|
<field name="callerid"/>
|
|
<field name="asterisk_server_id"/>
|
|
</group>
|
|
<group name="optional_params" string="Optional parameters - for experts only, can be left empty">
|
|
<field name="cdraccount"/>
|
|
<field name="dial_suffix"/>
|
|
<field name="alert_info"/>
|
|
<field name="variable"/>
|
|
</group>
|
|
</page>
|
|
</notebook>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_users_form_simple_modif" model="ir.ui.view">
|
|
<field name="name">asterisk.preferences.view</field>
|
|
<field name="model">res.users</field>
|
|
<field name="inherit_id" ref="base.view_users_form_simple_modif" />
|
|
<field name="arch" type="xml">
|
|
<group string="Email Preferences" position="after">
|
|
<group name="telephony">
|
|
<!-- Empty group, that is used by other Asterisk modules -->
|
|
</group>
|
|
</group>
|
|
</field>
|
|
</record>
|
|
|
|
|
|
</data>
|
|
</openerp>
|