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.
38 lines
1.3 KiB
38 lines
1.3 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2012-2013 Akretion (http://www.akretion.com/)
|
|
@author: Alexis de Lattre <alexis.delattre@akretion.com>
|
|
The licence is in the file __openerp__.py
|
|
-->
|
|
|
|
<openerp>
|
|
<data>
|
|
|
|
<!-- Add option on user form view -->
|
|
<record id="asterisk_crm_option_view" model="ir.ui.view">
|
|
<field name="name">asterisk.crm.option.view</field>
|
|
<field name="model">res.users</field>
|
|
<field name="inherit_id" ref="asterisk_click2dial.asterisk_res_users_internal_number"/>
|
|
<field name="arch" type="xml">
|
|
<field name="asterisk_server_id" position="after">
|
|
<field name="context_propose_creation_crm_call"/>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="asterisk_crm_preferences_option_view" model="ir.ui.view">
|
|
<field name="name">asterisk.crm.preferences.option.view</field>
|
|
<field name="model">res.users</field>
|
|
<field name="inherit_id" ref="asterisk_click2dial.view_users_form_simple_modif" />
|
|
<field name="arch" type="xml">
|
|
<group name="telephony" position="inside">
|
|
<field name="context_propose_creation_crm_call" readonly="0"/>
|
|
</group>
|
|
<group name="telephony" position="attributes">
|
|
<attribute name="string">Telephony Preferences</attribute>
|
|
</group>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|