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.
29 lines
981 B
29 lines
981 B
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Asterisk Click2dial CRM Claim module for OpenERP
|
|
Copyright (C) 2013 Invitu <contact@invitu.com>
|
|
The licence is in the file __openerp__.py
|
|
|
|
Inherit crm_claim view to add 'Dial' button next to 'phone'
|
|
field
|
|
-->
|
|
|
|
<openerp>
|
|
<data>
|
|
|
|
<record id="asterisk_crm_claim_form_dial" model="ir.ui.view">
|
|
<field name="name">asterisk.crm_claim.form.dial</field>
|
|
<field name="model">crm.claim</field>
|
|
<field name="inherit_id" ref="crm_claim.crm_case_claims_form_view"/>
|
|
<field name="arch" type="xml">
|
|
<field name="partner_phone" position="replace">
|
|
<group colspan="2" col="3">
|
|
<field name="partner_phone" colspan="2" />
|
|
<button name="action_dial" context="{'field2dial': ['partner_phone', 'partner_phone_e164']}" string="Dial" type="object" attrs="{'invisible':[('partner_phone','=',False)]}"/>
|
|
</group>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|