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.
37 lines
1.2 KiB
37 lines
1.2 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2012-2015 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="view_users_form" model="ir.ui.view">
|
|
<field name="name">asterisk.crm.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">
|
|
<!-- Phone tab is already invisible, cf base_phone -->
|
|
<group name="phone-preferences" position="inside">
|
|
<field name="context_propose_creation_crm_call"/>
|
|
</group>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_users_form_simple_modif" 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_phone.view_users_form_simple_modif" />
|
|
<field name="arch" type="xml">
|
|
<!-- phone group is already invisible, cf base_phone -->
|
|
<group name="phone" position="inside">
|
|
<field name="context_propose_creation_crm_call" readonly="0"/>
|
|
</group>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|