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.
 
 
 
 
 

41 lines
1.5 KiB

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 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="variable" 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="base.view_users_form_simple_modif" />
<field name="arch" type="xml">
<field name="signature" position="after">
<group colspan="4" col="2" >
<!-- I create a group to avoid that the long "string" of the
field context_propose_creation_crm_call pushes all other fields
to the right -->
<separator string="Telephony preferences" colspan="2"/>
<field name="context_propose_creation_crm_call" readonly="0"/>
</group>
</field>
</field>
</record>
</data>
</openerp>